Function at 0x1002f830
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x294
push ebx
push ebp
xor ebp, ebp
push esi
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x40], eax
mov eax, 1
lea edx, [esp + 0x174]
or ebx, 0xffffffff
lea ecx, [esp + 0x38]
push ebp
mov edi, 0x1007c5a4
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov word [esp + 0x3c], bx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edi
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov word [esp + 0x64], bp
mov dword [esp + 0x68], eax
mov word [esp + 0x6c], bp
mov word [esp + 0x6e], bx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], eax
call fcn.1002c960
mov esi, dword [esp + 0x2b8]
mov eax, dword [esp + 0x2b0]
mov dword [esi + 0x18], ebp
mov dword [eax], ebp
mov ecx, dword [esi + 4]
mov byte [esp + 0x1a8], 0
mov edx, dword [ecx + 0x10]
push edx
call fcn.10038220
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.10062c10
mov esi, eax
add esp, 0x14
cmp esi, ebp
je 0x1002f95d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov ax, word [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2bc]
push ecx
mov word [edx + 8], ax
call fcn.10038e00
add esp, 0x14
cmp esi, 1
je 0x1002f92b
lea edx, [esp + 0x10]
push edx
call fcn.10062a10
add esp, 4
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov dword [esp + 0x38], edi
je 0x1002f944
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x38]
call fcn.10060ec0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
mov eax, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x2b0]
mov edx, dword [ecx + 4]
push eax
push edx
lea eax, [esp + 0x18]
push eax
call fcn.10037720
mov esi, eax
add esp, 0xc
cmp esi, ebp
mov dword [esp + 0x1c], esi
jne 0x1002f996
lea ecx, [esp + 0x10]
push ecx
call fcn.10062a10
add esp, 4
jmp 0x1002f9d8
mov eax, dword [esp + 0x2b0]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x10]
push edx
push ecx
call fcn.1002d210
add esp, 8
test eax, eax
je 0x1002fa0a
mov ecx, esi
call fcn.1002eb00
lea edx, [esp + 0x10]
push edx
call fcn.10062a10
mov eax, dword [esp + 0x2b0]
push 0x100865e8
push eax
call fcn.10037ed0
add esp, 0xc
mov eax, dword [esp + 0x48]
cmp eax, ebp
mov dword [esp + 0x38], edi
je 0x1002f9f1
push eax
call fcn.1005e0e0
add esp, 4
mov dword [esp + 0x48], ebp
lea ecx, [esp + 0x38]
call fcn.10060ec0
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
mov edi, dword [esp + 0x2b0]
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
call fcn.1002dc70
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1a]
mov dword [esp + 0x38], eax
mov dword [esp + 0x5c], esi
mov esi, dword [ecx + 0x54]
add esp, 8
cmp esi, ebp
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], ebp
je 0x1002fa71
cmp byte [esi], 0
je 0x1002fa71
push str.SharedMemory
push esi
call fcn.1006fd66
add esp, 8
test eax, eax
je 0x1002fa71
push str.ShMem
push esi
call fcn.1006fd66
add esp, 8
test eax, eax
je 0x1002fa71
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x12]
mov edx, dword [eax + 0x20]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 0x48]
cmp eax, ebp
je 0x1002fa9a
push eax
call fcn.10067ddf
add esp, 4
mov word [esp + 0x34], ax
jmp 0x1002fa9f
mov word [esp + 0x34], bx
mov edx, dword [esp + 0x12]
mov ebp, dword [edx + 0x44]
test ebp, ebp
je 0x1002fcd8
push str.SIMPLE
push ebp
call fcn.10068d1f
add esp, 8
test eax, eax
je 0x1002fcd1
mov edi, 0x1007c588
mov esi, ebp
mov ecx, 4
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1002fcd1
push 7
push str.ECC_TLS
push ebp
call fcn.10071099
add esp, 0xc
test eax, eax
je 0x1002fbda
push 8
push str.CERTICOM
push ebp
call fcn.10071099
add esp, 0xc
test eax, eax
je 0x1002fbda
push 7
push str.RSA_TLS
push ebp
call fcn.10071099
add esp, 0xc
test eax, eax
je 0x1002fbda
push str.NONE
push ebp
call fcn.10068d1f
add esp, 8
test eax, eax
je 0x1002fcd8
mov edi, 0x1007c5dc
mov esi, ebp
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x1002fcd8
push 0x1007c5d8
push ebp
call fcn.10068d1f
add esp, 8
test eax, eax
jne 0x1002fcd8
movzx eax, word [esp + 0x10]
mov ecx, dword [esp + 0x12]
mov esi, dword [ecx + eax*4]
lea eax, [ecx + eax*4]
push 6
mov dword [eax], ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov ax, word [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2bc]
push ecx
mov word [edx + 8], ax
call fcn.10038e00
movzx edx, word [esp + 0x24]
mov eax, dword [esp + 0x26]
lea ecx, [esp + 0x24]
push ecx
mov dword [eax + edx*4], esi
call fcn.10062a10
mov ecx, dword [esp + 0x34]
add esp, 0x18
call fcn.1002eb00
lea ecx, [esp + 0x2c]
call fcn.1002eed0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
push 7
push str.ECC_TLS
push ebp
call fcn.10071099
add esp, 0xc
test eax, eax
jne 0x1002fbfa
mov byte [esp + 0x44], 2
mov eax, str.ECC_TLS
jmp 0x1002fc24
push 8
push str.CERTICOM
push ebp
call fcn.10071099
add esp, 0xc
test eax, eax
jne 0x1002fc1a
mov byte [esp + 0x44], 2
mov eax, str.CERTICOM
jmp 0x1002fc24
mov byte [esp + 0x44], 3
mov eax, str.RSA_TLS
mov ecx, ebp
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1002fc30
sub ecx, esi
mov esi, ecx
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1002fc40
sub ecx, edi
cmp esi, ecx
je 0x1002fcdd
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002fc54
sub eax, edx
lea esi, [eax + ebp + 1]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002fc66
sub eax, edx
mov edi, eax
mov bl, byte [edi + esi - 1]
mov byte [edi + esi - 1], cl
push esi
lea ecx, [esp + 0x3c]
call fcn.1002e400
test eax, eax
jne 0x1002fcc8
lea edx, [esp + 0x10]
push edx
call fcn.10062a10
mov eax, dword [esp + 0x2b0]
push 0x100865e8
push eax
call fcn.10037ed0
mov ecx, dword [esp + 0x28]
add esp, 0xc
call fcn.1002eb00
lea ecx, [esp + 0x2c]
call fcn.1002eed0
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
mov byte [edi + esi - 1], bl
or ebx, 0xffffffff
jmp 0x1002fcdd
mov byte [esp + 0x44], 1
jmp 0x1002fcdd
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x12]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x68], edx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1002fd10
push eax
call fcn.10067ddf
add esp, 4
mov word [esp + 0x5c], ax
jmp 0x1002fd17
mov word [esp + 0x5c], 0
mov edx, dword [esp + 0x12]
mov eax, dword [edx + 0x78]
test eax, eax
je 0x1002fd3b
push 0x1007c588
push eax
call fcn.1006fd66
add esp, 8
neg eax
sbb eax, eax
and eax, 2
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x12]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x1002fd5f
push eax
call fcn.10067ddf
add esp, 4
test eax, eax
jle 0x1002fd81
cmp eax, 0x3e80
jg 0x1002fd81
mov word [esp + 0x64], ax
mov edx, dword [esp + 0x12]
mov eax, dword [edx + 0x80]
test eax, eax
je 0x1002fdfa
push eax
call fcn.10067ddf
add esp, 4
mov word [esp + 0x66], ax
jmp 0x1002fdff
movzx edx, word [esp + 0x10]
mov ecx, dword [esp + 0x12]
mov esi, dword [ecx + edx*4]
lea eax, [ecx + edx*4]
mov ecx, dword [ecx + 0x7c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push 6
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov ax, word [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x2bc]
push ecx
mov word [edx + 8], ax
call fcn.10038e00
movzx edx, word [esp + 0x24]
mov eax, dword [esp + 0x26]
lea ecx, [esp + 0x24]
push ecx
mov dword [eax + edx*4], esi
call fcn.10062a10
mov ecx, dword [esp + 0x34]
add esp, 0x18
call fcn.1002eb00
lea ecx, [esp + 0x2c]
call fcn.1002eed0
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
mov word [esp + 0x66], bx
mov eax, dword [esp + 0x12]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x1002fe23
push 0x1007c588
push eax
call fcn.1006fd66
add esp, 8
test eax, eax
jne 0x1002fe23
mov dword [esp + 0x6c], eax
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x1002fec5
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 0x2512
call fcn.1005d7e0
lea edx, [esp + 0x80]
push edx
push ebx
call fcn.10037350
mov eax, dword [esp + 0x26]
mov ecx, dword [eax + 0x68]
mov edx, dword [esp + 0x2c4]
mov eax, dword [edx + 4]
push ecx
push eax
call fcn.10037c80
add esp, 0x1c
test eax, eax
je 0x1002fec5
mov ecx, eax
lea esi, [ecx + 1]
mov edi, edi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x1002fe80
sub ecx, esi
add ecx, 2
push ecx
push eax
call fcn.1005e1d0
mov esi, eax
add esp, 8
test esi, esi
je 0x1002febc
mov edi, esi
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1002fea0
mov cx, word [0x1007c5d4]
push esi
push ebx
mov word [edi], cx
call fcn.10037350
add esp, 8
push esi
call fcn.1005e0e0
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.10061fc0
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x70], ebp
je 0x1002ff1b
push ebp
call fcn.1002dd70
mov edi, dword [esp + 0x20]
push edi
call fcn.1002cd20
add esp, 8
test eax, eax
je 0x1002ff1f
push ebp
push 0x100
lea eax, [esp + 0x7c]
push eax
push 0x210f
call fcn.1005d7e0
lea ecx, [esp + 0x84]
push ecx
push edi
call fcn.10037350
add esp, 0x18
jmp 0x1002ff1f
mov edi, dword [esp + 0x1c]
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x1002ff51
push 0x100
lea edx, [esp + 0x78]
push edx
push 0x252d
call fcn.1005d7e0
lea eax, [esp + 0x80]
push eax
push edi
call fcn.10037350
add esp, 0x14
mov edx, dword [esp + 0x2ac]
mov ebx, dword [esp + 0x2a8]
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebx
call fcn.1002f770
mov esi, eax
mov eax, dword [esp + 0x2b8]
mov ecx, dword [eax + 0xc]
add esp, 0xc
test ecx, ecx
jl 0x10030259
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x1002ffd1
cmp dword [ebx], 0
je 0x1002ffd1
mov ecx, dword [esp + 0x12]
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x1002ffd1
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x1002ffd1
push 0x100
lea edx, [esp + 0x78]
push edx
push 0x2238
call fcn.1005d7e0
lea eax, [esp + 0x80]
push eax
push edi
call fcn.10037350
add esp, 0x14
mov eax, dword [esp + 0x2b4]
test eax, eax
je 0x10030006
lea ecx, [esp + 0x10]
push ecx
call fcn.10062a10
add esp, 4
mov ecx, edi
call fcn.1002eb00
test ebp, ebp
je 0x100309b6
push ebp
call fcn.1002cbd0
add esp, 4
jmp 0x100309b6
mov ecx, dword [ebx]
test ecx, ecx
jne 0x1003020b
mov edx, dword [esp + 0x12]
mov esi, dword [edx + 0x58]
test esi, esi
mov al, 1
je 0x1003002f
mov edi, 0x1007c5dc
mov ecx, 3
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003002f
xor al, al
xor ecx, ecx
test al, al
je 0x10030050
mov eax, dword [esp + 0x2b0]
mov edx, dword [eax + 8]
test edx, edx
je 0x10030050
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10030050
mov ecx, 1
mov edx, dword [esp + 0x12]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x10030060
cmp byte [eax], 0
jne 0x10030080
mov eax, dword [edx + 8]
test eax, eax
je 0x1003006c
cmp byte [eax], 0
jne 0x10030080
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x100301d3
cmp byte [eax], 0
je 0x100301d3
test ecx, ecx
je 0x100301d3
mov edi, dword [esp + 0x1c]
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100300d5
mov ecx, dword [esp + 0x12]
mov eax, dword [ecx + 0x1c]
test eax, eax
push 0x100
je 0x100300b5
lea edx, [esp + 0x78]
push edx
push 0x2114
jmp 0x100300bf
lea eax, [esp + 0x78]
push eax
push 0x2533
call fcn.1005d7e0
add esp, 0xc
lea ecx, [esp + 0x74]
push ecx
push edi
call fcn.10037350
add esp, 8
mov ecx, dword [esp + 0x2b0]
mov esi, dword [esp + 0x2ac]
push 0
push 1
push ebx
lea edx, [esp + 0x1ac]
push edx
mov edx, dword [ecx + 4]
lea eax, [esp + 0x34]
push eax
push esi
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.1003b030
add esp, 0x20
test eax, eax
jne 0x10030194
mov ecx, dword [esp + 0x2b0]
lea eax, [esp + 0x1a0]
mov dword [ecx + 0x18], 1
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10030127
sub eax, edx
mov dword [esp + 0x28], eax
je 0x10030141
lea edx, [esp + 0x1a0]
mov dword [esp + 0x2c], edx
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x10030178
test ebp, ebp
je 0x10030178
push ebp
push 0x100
lea eax, [esp + 0x7c]
push eax
push 0x252e
call fcn.1005d7e0
lea ecx, [esp + 0x84]
push ecx
push edi
call fcn.10037350
add esp, 0x18
lea edx, [esp + 0x2c]
push edx
push esi
push ebx
call fcn.1002f770
mov eax, dword [esi + 0xc]
add esp, 0xc
test eax, eax
jl 0x10030259
jmp 0x100301c6
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100301c6
push 0x100
lea eax, [esp + 0x78]
push eax
push 0x252f
call fcn.1005d7e0
lea ecx, [esp + 0x80]
push ecx
push edi
call fcn.10037350
add esp, 0x14
mov ecx, dword [ebx]
test ecx, ecx
je 0x10030222
call fcn.1002ead0
jmp 0x10030218
mov esi, dword [esp + 0x1c]
push esi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x10030218
push 0x100
lea edx, [esp + 0x78]
push edx
push 0x2530
call fcn.1005d7e0
lea eax, [esp + 0x80]
push eax
push esi
call fcn.10037350
add esp, 0x14
jmp 0x10030218
call fcn.1002ead0
mov dword [esp + 0x24], 1
mov eax, dword [ebx]
test eax, eax
jne 0x100302d4
mov ecx, dword [esp + 0x2ac]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x10030238
push 0x1008957c
push ecx
jmp 0x10030251
cmp eax, 0xffffffa9
jne 0x10030259
mov eax, dword [esp + 0x2ac]
push 0x10087148
mov dword [eax + 0xc], 0
push eax
call fcn.10037ed0
add esp, 8
test ebp, ebp
je 0x10030266
push ebp
call fcn.1002cbd0
add esp, 4
mov esi, dword [esp + 0x1c]
push esi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x1003029c
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 0x2532
call fcn.1005d7e0
lea edx, [esp + 0x80]
push edx
push esi
call fcn.10037350
add esp, 0x14
mov ecx, dword [ebx]
test ecx, ecx
je 0x100302a7
call fcn.1002eb00
lea eax, [esp + 0x10]
push eax
call fcn.10062a10
add esp, 4
mov ecx, esi
call fcn.1002eb00
lea ecx, [esp + 0x2c]
call fcn.1002eed0
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret
test ebp, ebp
je 0x100302ea
mov ecx, dword [eax + 0xc]
push ebp
push 0x210f
push ecx
call fcn.100402e0
add esp, 0xc
mov edx, dword [esp + 0x12]
mov eax, dword [edx + 0x50]
test eax, eax
je 0x1003030d
push 0x1007c588
push eax
call fcn.10068d1f
add esp, 8
test eax, eax
jne 0x1003030d
mov eax, dword [ebx]
and dword [eax + 0x4c], 0xfffffffe
mov eax, dword [esp + 0x12]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x10030347
push 0xa
push 0
push eax
call fcn.1006948d
add esp, 0xc
test eax, eax
je 0x10030347
cmp eax, 3
jae 0x10030335
mov eax, 3
jmp 0x10030341
cmp eax, 0x3e8
jbe 0x10030341
mov eax, 0x3e8
mov ecx, dword [ebx]
mov word [ecx + 0x38], ax
mov edx, dword [esp + 0x12]
mov eax, dword [edx + 0x88]
test eax, eax
je 0x10030374
push 0x1007c588
push eax
call fcn.10068d1f
add esp, 8
test eax, eax
jne 0x10030374
mov eax, dword [ebx]
cmp word [eax + 0x2a], 4
jb 0x10030374
or dword [eax + 0x4c], 0x20
mov esi, dword [esp + 0x1c]
push esi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100303aa
push 0x100
lea eax, [esp + 0x78]
push eax
push 0x2531
call fcn.1005d7e0
lea ecx, [esp + 0x80]
push ecx
push esi
call fcn.10037350
add esp, 0x14
test byte [esp + 0x16], 1
je 0x100303c3
mov eax, dword [esp + 0x12]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [eax + 0xc], 0
mov eax, dword [esp + 0x2b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100303ee
mov ecx, dword [esp + 0x2ac]
push 1
push ecx
push eax
call fcn.10038800
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1003097d
mov eax, dword [esp + 0x2b0]
mov edx, dword [eax + 0x10]
mov ebp, dword [esp + 0x2ac]
mov edi, dword [esp + 0x2a8]
mov ecx, dword [edi]
lea ebx, [eax + 0x14]
push ebx
push edx
push ebp
lea eax, [esp + 0x1c]
call fcn.1002e8c0
mov esi, eax
mov al, byte [esp + 0x22]
add esp, 0xc
test al, 1
je 0x1003042f
mov eax, dword [esp + 0x12]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
test esi, esi
jne 0x100304b2
mov eax, dword [ebp + 0xc]
test eax, eax
mov esi, dword [esp + 0x1c]
push esi
jne 0x10030477
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x10030470
push 0x100
lea edx, [esp + 0x78]
push edx
push 0x223a
call fcn.1005d7e0
lea eax, [esp + 0x80]
push eax
push esi
call fcn.10037350
add esp, 0x14
xor esi, esi
jmp 0x1003097d
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100304a8
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 0x223b
call fcn.1005d7e0
lea edx, [esp + 0x80]
push edx
push esi
call fcn.10037350
add esp, 0x14
mov esi, 5
jmp 0x1003097d
cmp esi, 4
jne 0x100308b2
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffad
je 0x100304cc
cmp eax, 0xffffffb4
jne 0x100308b2
mov edi, dword [esp + 0x1c]
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x10030502
push 0x100
lea eax, [esp + 0x78]
push eax
push 0x223c
call fcn.1005d7e0
lea ecx, [esp + 0x80]
push ecx
push edi
call fcn.10037350
add esp, 0x14
push 0
push ebp
call fcn.1002ca10
mov edx, dword [esp + 0x2b8]
mov eax, dword [edx + 0xc]
add esp, 8
test eax, eax
jne 0x10030570
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x1003054d
push 0x100
lea eax, [esp + 0x78]
push eax
push 0x223e
call fcn.1005d7e0
lea ecx, [esp + 0x80]
push ecx
push edi
call fcn.10037350
add esp, 0x14
push 0x10089758
push ebp
call fcn.10037ed0
mov edx, dword [esp + 0x2b0]
mov eax, dword [edx]
push ebp
push eax
call fcn.1002ea40
add esp, 0x10
jmp 0x1003097d
mov dword [esp + 0x20], 0
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100305aa
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 0x223f
call fcn.1005d7e0
lea edx, [esp + 0x80]
push edx
push edi
call fcn.10037350
add esp, 0x14
lea eax, [esp + 0x10]
push eax
call fcn.10061fc0
mov edi, eax
add esp, 4
test edi, edi
jne 0x100305db
push 0x100865e8
push ebp
call fcn.10037ed0
mov ecx, dword [esp + 0x2b0]
mov edx, dword [ecx]
push ebp
push edx
call fcn.1002ea40
add esp, 0x10
mov eax, dword [esp + 0x2b0]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1003060d
mov ecx, dword [esp + 0x12]
mov edx, dword [ecx + 0x14]
push edx
push eax
call fcn.1003aca0
add esp, 8
test al, al
je 0x1003060d
mov eax, dword [esp + 0x2b0]
mov ecx, dword [eax + 0x10]
push edi
push ebp
push ecx
jmp 0x10030619
mov edx, dword [esp + 0x2a8]
mov eax, dword [edx]
push edi
push ebp
push eax
call fcn.1003ad50
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1003062c
cmp esi, 5
jne 0x10030631
cmp esi, 4
jne 0x1003063b
cmp dword [ebp + 0xc], 0xffffffb3
jne 0x100307fb
push edi
call fcn.1002cbd0
mov eax, dword [esp + 0x2b0]
mov esi, dword [eax + 0xc]
xor ecx, ecx
cmp esi, 0xffffffb3
sete cl
push 0
push eax
mov ebp, ecx
call fcn.1002ca10
mov esi, dword [esp + 0x28]
push esi
call fcn.1002cd20
add esp, 0x10
test eax, eax
je 0x10030693
push 0x100
lea edx, [esp + 0x78]
push edx
push 0x2241
call fcn.1005d7e0
lea eax, [esp + 0x80]
push eax
push esi
call fcn.10037350
add esp, 0x14
mov ecx, dword [esp + 0x2b0]
mov edx, dword [ecx + 0x10]
mov edi, dword [esp + 0x2ac]
mov ecx, dword [esp + 0x2a8]
mov ecx, dword [ecx]
push ebx
push edx
push edi
lea eax, [esp + 0x1c]
call fcn.1002e8c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100306c7
cmp esi, 5
jne 0x100306d0
cmp esi, 4
jne 0x100307bc
cmp dword [edi + 0xc], 0xffffffad
jne 0x100306ff
mov eax, dword [esp + 0x20]
inc eax
cmp eax, 0xa
mov dword [esp + 0x20], eax
jge 0x100306ff
push 0
push edi
call fcn.1002ca10
mov ebp, dword [esp + 0x2b4]
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x10030578
mov ebx, dword [esp + 0x1c]
push ebx
xor edi, edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x10030737
push 0x100
lea edx, [esp + 0x78]
push edx
push 0x223d
call fcn.1005d7e0
lea eax, [esp + 0x80]
push eax
push ebx
call fcn.10037350
add esp, 0x14
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1003076f
cmp esi, 2
je 0x1003076f
cmp esi, 9
je 0x1003076f
cmp esi, 6
je 0x1003076f
mov edx, dword [esp + 0x2a8]
mov eax, dword [edx]
push 1
lea ecx, [esp + 0x178]
push ecx
push eax
call fcn.1003af20
add esp, 0xc
mov edi, 1
cmp esi, 4
jne 0x10030792
test edi, edi
jne 0x10030792
mov ecx, dword [esp + 0x2ac]
mov edx, dword [esp + 0x2a8]
mov eax, dword [edx]
push ecx
push eax
call fcn.1002ea40
add esp, 8
test ebp, ebp
je 0x100308a4
mov edi, dword [esp + 0x2ac]
push 0
push edi
call fcn.1002ca10
push 0x10089800
push edi
call fcn.10037ed0
add esp, 0x10
jmp 0x100308a4
mov edi, dword [esp + 0x1c]
push edi
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100308a4
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 0x223a
call fcn.1005d7e0
lea edx, [esp + 0x80]
push edx
push edi
call fcn.10037350
add esp, 0x14
jmp 0x100308a4
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x10030831
push 0x100
lea eax, [esp + 0x78]
push eax
push 0x2242
call fcn.1005d7e0
lea ecx, [esp + 0x80]
push ecx
push ebx
call fcn.10037350
add esp, 0x14
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x10030866
cmp esi, 2
je 0x10030888
cmp esi, 9
je 0x10030888
cmp esi, 6
je 0x10030888
mov eax, dword [esp + 0x2a8]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x178]
push edx
push ecx
call fcn.1003af20
add esp, 0xc
jmp 0x10030888
cmp esi, 2
je 0x10030888
cmp esi, 9
je 0x10030888
cmp esi, 6
je 0x10030888
mov edx, dword [esp + 0x2a8]
mov eax, dword [edx]
push ebp
push eax
call fcn.1002ea40
add esp, 8
push edi
call fcn.1002cbd0
add esp, 4
cmp esi, 4
je 0x100308a4
push 0x10089774
push ebp
call fcn.10037ed0
add esp, 8
cmp esi, 2
jne 0x1003097d
jmp 0x10030978
mov ebx, dword [esp + 0x1c]
push ebx
call fcn.1002cd20
add esp, 4
test eax, eax
je 0x100308e8
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 0x223d
call fcn.1005d7e0
lea edx, [esp + 0x80]
push edx
push ebx
call fcn.10037350
add esp, 0x14
cmp esi, 2
je 0x10030924
cmp esi, 9
je 0x10030963
cmp esi, 6
je 0x10030963
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1003090d
mov eax, dword [edi]
push ebp
push eax
call fcn.1002ea40
add esp, 8
jmp 0x10030963
mov edx, dword [edi]
push 1
lea ecx, [esp + 0x178]
push ecx
push edx
call fcn.1003af20
add esp, 0xc
jmp 0x10030963
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1003095e
push 0x10086a48
push ebp
call fcn.10037ed0
push 0x100
lea eax, [esp + 0x80]
push eax
push 0x251b
call fcn.1005d7e0
lea ecx, [esp + 0x88]
push ecx
push ebp
call fcn.10038260
add esp, 0x1c
mov esi, 0xa
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1003097d
push 0x100894d4
push ebp
call fcn.10037ed0
add esp, 8
mov esi, 0xa
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1003098e
push eax
call fcn.1002cbd0
add esp, 4
mov edx, dword [esp + 0x2a8]
mov ecx, dword [edx]
test ecx, ecx
je 0x100309a0
call fcn.1002eb00
lea eax, [esp + 0x10]
push eax
call fcn.10062a10
mov ecx, dword [esp + 0x20]
add esp, 4
call fcn.1002eb00
lea ecx, [esp + 0x2c]
call fcn.1002eed0
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x294
ret