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

Disassembly:
sub esp, 0x69c
cmp dword [0x1011f61c], 0
push ebx
push ebp
mov ebp, dword [esp + 0x6b0]
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x30], ebx
je 0x3641391
test ebp, 0x200
je 0x3641391
test ebp, 0x100
je 0x3641391
mov eax, dword [esp + 0x6b0]
mov dword [eax], 0
mov dword [eax + 4], 0xc000000d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x20
cmp dword [0x1011f618], 0
je 0x36413ab
mov eax, dword [esp + 0x6cc]
test eax, eax
je 0x36413ab
mov dword [eax], 0
mov edi, dword [esp + 0x6bc]
xor eax, eax
mov dword [esp + 0x288], eax
xor al, al
cmp dword [edi + 4], 0
mov byte [esp + 0x1f], al
lea eax, [edi + 4]
mov dword [esp + 0x28c], 0
mov dword [esp + 0x54], eax
je 0x3641696
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [ebx + 0x34]
call fcn.0362ae90
mov edi, dword [esp + 0x28]
test edi, edi
je 0x364168f
mov esi, dword [edi + 0xc]
test esi, esi
je 0x3641404
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x23], 1
mov dword [esp + 0x18], 0
call dword [eax + 0xc]
test eax, eax
je 0x364147e
mov edi, dword [esp + 0x6b0]
and eax, 0xefffffff
mov dword [edi + 4], eax
mov dword [edi], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3641452
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x28c]
lea eax, [esp + 0x290]
cmp eax, ecx
je 0x364146f
call fcn.03707920
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x20
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
mov eax, dword [ecx]
call dword [eax + 0x24]
test eax, eax
jne 0x3641427
cmp dword [esp + 0x28], eax
je 0x36414a6
mov edi, dword [esp + 0x6b0]
mov dword [edi + 4], 0xc000017c
jmp 0x3641436
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x20]
test eax, eax
jne 0x3641427
cmp dword [esp + 0x2c], eax
jne 0x3641496
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x70]
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
call fcn.036b9c80
test eax, eax
je 0x364150a
mov edi, dword [esp + 0x6b0]
and eax, 0xefffffff
mov dword [edi], 0
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp eax, ecx
je 0x364143c
call fcn.03707920
jmp 0x364143c
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x34]
mov edi, dword [esp + 0x6bc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x288]
mov edx, dword [edi + 8]
push eax
call fcn.036bc160
add esp, 4
lea eax, [esp + 0x288]
mov ecx, ebx
push ebp
push dword [edi + 4]
push eax
call fcn.03640f70
test eax, eax
je 0x36415c0
mov ecx, dword [esp + 0x6cc]
lea eax, [esp + 0x288]
mov edi, dword [esp + 0x6b0]
push ecx
push dword [esp + 0x6cc]
mov dword [esp + 0x4c], eax
mov ecx, ebx
push dword [esp + 0x6cc]
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x18
push dword [esp + 0x6cc]
mov dword [esp + 0x50], 0
push eax
push ebp
push dword [esp + 0x6cc]
mov dword [esp + 0x64], 0x40
push edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.03641340
jmp 0x36414f0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp eax, ecx
je 0x36415d1
call fcn.03707920
mov eax, dword [esp + 0x14]
test eax, eax
je 0x36415df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
mov dword [esp + 0x74], 0
push ebp
push dword [edi + 4]
mov dword [esp + 0x78], eax
mov ecx, ebx
mov dword [esp + 0x280], eax
xor esi, esi
lea eax, [esp + 0x290]
push eax
call fcn.03640f70
test eax, eax
lea ecx, [esp + 0x70]
mov eax, 1
cmovne esi, eax
mov eax, dword [esp + 0x288]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x28c]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
push dword [ebx + 0x2c]
call fcn.036bbf80
test eax, eax
jne 0x3641cc3
mov ecx, dword [esp + 0x280]
mov edx, dword [esp + 0x27c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x1f]
test al, al
je 0x3641683
lea eax, [ecx + ecx]
mov dword [esp + 0x64], edx
mov word [esp + 0x60], ax
mov word [esp + 0x62], ax
mov al, byte [esp + 0x1f]
test esi, esi
jne 0x36416c3
test al, al
jne 0x36416c3
mov eax, edi
jmp 0x3641708
mov edi, dword [esp + 0x6bc]
lea eax, [esp + 0x288]
mov ecx, ebx
push eax
push edi
call fcn.03649780
test eax, eax
je 0x36415e5
mov esi, dword [esp + 0x6b0]
mov dword [esi], 0
mov dword [esi + 4], eax
jmp 0x3641d04
lea eax, [ecx + ecx]
mov dword [esp + 0x38], edx
mov word [esp + 0x34], ax
mov word [esp + 0x36], ax
lea eax, [esp + 0x34]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x18
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0x40
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x18]
push ecx
push dword [esp + 0x6cc]
push dword [esp + 0x6cc]
push dword [esp + 0x6cc]
push ecx
push eax
push ebp
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.03641d90
test eax, eax
jne 0x3641c79
mov esi, dword [ebx + 0x2c]
test esi, esi
je 0x3641753
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x74]
mov edi, dword [esp + 0x278]
test edi, edi
je 0x364176b
mov eax, dword [edi]
push edi
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x494], 0
mov dword [esp + 0x490], eax
mov ecx, ebx
mov dword [esp + 0x698], eax
mov eax, dword [esp + 0x54]
push ebp
push dword [eax]
lea eax, [esp + 0x290]
push eax
call fcn.03640f70
mov eax, dword [esp + 0x288]
lea ecx, [esp + 0x490]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
push dword [ebx + 0x2c]
call fcn.036bbf80
test eax, eax
jne 0x3641b90
mov eax, dword [esp + 0x698]
mov dword [esp + 0x28], eax
test eax, eax
je 0x36417e7
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, dword [esp + 0x28]
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x28]
mov ebx, eax
test ecx, ecx
je 0x36417ff
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
cmp ebx, 1
jne 0x36418d7
mov ecx, dword [esp + 0x698]
test ecx, ecx
je 0x3641824
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x698], 0
mov ecx, dword [esp + 0x494]
lea eax, [esp + 0x498]
cmp eax, ecx
je 0x364183b
call fcn.03707920
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x364185c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x364186a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x3641880
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3641896
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x278]
test ecx, ecx
je 0x36418b2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x278], 0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x6bc]
cmp eax, ecx
je 0x36415e5
call fcn.03707920
jmp 0x36415e5
test ebx, ebx
je 0x36419cb
mov ebp, dword [esp + 0x6b0]
and ebx, 0xefffffff
mov ecx, dword [esp + 0x698]
mov dword [ebp], 0
mov dword [ebp + 4], ebx
test ecx, ecx
je 0x3641912
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x698], 0
mov ecx, dword [esp + 0x494]
lea eax, [esp + 0x498]
cmp eax, ecx
je 0x3641929
call fcn.03707920
test edi, edi
je 0x3641933
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x364194e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x364195c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x364196a
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3641978
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x278]
test ecx, ecx
je 0x3641994
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x278], 0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp eax, ecx
je 0x36419a5
call fcn.03707920
mov ecx, dword [esp + 0x28c]
lea eax, [esp + 0x290]
cmp eax, ecx
je 0x36419bc
call fcn.03707920
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x20
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
test ebx, ebx
je 0x36419df
mov eax, dword [ebx]
mov ecx, ebx
push ebp
call dword [eax + 0x44]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x36419ec
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x698]
test ecx, ecx
je 0x3641a08
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x698], 0
mov ecx, dword [esp + 0x494]
lea eax, [esp + 0x498]
cmp eax, ecx
je 0x3641a1f
call fcn.03707920
test edi, edi
je 0x3641a29
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x18]
mov ecx, esi
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esi]
call dword [eax + 0x14]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], 0
push ecx
lea ecx, [esp + 0x1c]
test eax, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
je 0x3641b0a
call dword [eax + 0xc]
test eax, eax
je 0x3641b04
mov edi, dword [esp + 0x6b0]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [edi], 0
test eax, eax
je 0x3641aa5
cmp eax, 0xffffffff
je 0x3641aa5
push eax
call dword [0x100f5250]
mov ecx, dword [esp + 0x18]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x18], ecx
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3641ab9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebp, ebp
je 0x3641ac4
mov eax, dword [ebp]
push ebp
call dword [eax + 8]
test ebx, ebx
je 0x3641ace
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [esp + 0x278]
test ecx, ecx
je 0x3641aea
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x278], 0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp eax, ecx
je 0x3641458
call fcn.03707920
jmp 0x3641458
mov edi, dword [esp + 0x18]
jmp 0x3641b5d
call dword [eax + 0x10]
test eax, eax
je 0x3641b40
mov edi, dword [esp + 0x6b0]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [edi], 0
test eax, eax
je 0x3641aa5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], 0
jmp 0x3641aa5
push dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
call fcn.03640ec0
mov ecx, dword [esp + 0x18]
mov edi, eax
test ecx, ecx
je 0x3641b5d
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov eax, dword [esp + 0x6b4]
mov ecx, dword [esp + 0x6cc]
mov dword [eax], edi
test ecx, ecx
je 0x3641b77
mov eax, dword [esp + 0x2c]
mov dword [ecx], eax
mov edi, dword [esp + 0x6b0]
mov dword [edi], 0
mov dword [edi + 4], 0
jmp 0x3641aa5
mov ebx, dword [esp + 0x6b0]
mov ecx, dword [esp + 0x698]
mov dword [ebx], 1
mov dword [ebx + 4], 0
test ecx, ecx
je 0x3641bc0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x698], 0
mov ecx, dword [esp + 0x494]
lea eax, [esp + 0x498]
cmp eax, ecx
je 0x3641bd7
call fcn.03707920
test edi, edi
je 0x3641be1
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x78]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x3641bfc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3641c0a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x3641c18
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3641c26
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x278]
test ecx, ecx
je 0x3641c42
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x278], 0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp eax, ecx
je 0x3641c53
call fcn.03707920
mov ecx, dword [esp + 0x28c]
lea eax, [esp + 0x290]
cmp eax, ecx
je 0x3641c6a
call fcn.03707920
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x20
mov esi, dword [esp + 0x6b0]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi], 0
test eax, eax
je 0x3641c97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x3641ca5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x3641cb3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x3641cd7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x3641cd7
mov esi, dword [esp + 0x6b0]
mov dword [esi], 1
mov dword [esi + 4], 0
mov ecx, dword [esp + 0x278]
test ecx, ecx
je 0x3641cf3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x278], 0
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x78]
cmp eax, ecx
je 0x3641d04
call fcn.03707920
mov ecx, dword [esp + 0x28c]
lea eax, [esp + 0x290]
cmp eax, ecx
je 0x3641d1b
call fcn.03707920
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x69c
ret 0x20