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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49e1cb
push eax
mov dword fs:[0], esp
sub esp, 0x16c
cmp byte [0x4fd960], 0
push ebx
push ebp
push esi
push edi
jne 0x43876f
xor al, al
jmp 0x438bcb
cmp byte [0x4fd961], 0
je 0x438bc9
mov eax, dword [0x4fd95c]
xor ebp, ebp
push ebp
push ebp
push ebp
push eax
mov dword [esp + 0x44], 2
call fcn.0041d0d0
mov eax, dword [0x4fd95c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x48]
push edx
mov esi, 4
push eax
mov dword [esp + 0x2c], esi
call fcn.0041d170
mov ecx, dword [0x4fd958]
mov edx, dword [ecx + 8]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [0x4fd95c]
push ecx
push edx
mov dword [esp + 0x38], esi
call fcn.0041d170
add esp, 0x28
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov eax, dword [0x4fd958]
mov ecx, dword [eax + 4]
mov esi, dword [ecx]
mov edi, eax
mov dword [esp + 0x184], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], esi
cmp edi, ebp
mov ebx, dword [eax + 4]
je 0x43880e
cmp edi, eax
je 0x438813
call fcn.00486310
cmp esi, ebx
je 0x438b9e
cmp edi, ebp
jne 0x438824
call fcn.00486310
cmp esi, dword [edi + 4]
jne 0x43882e
call fcn.00486310
mov eax, dword [esi + 0x6c]
test al, 4
jne 0x438b83
mov dword [esp + 0x15c], eax
mov edx, dword [esi + 0x78]
mov dword [esp + 0x169], edx
mov eax, dword [esi + 0x7c]
mov edi, 0x10
mov dword [esp + 0x16d], eax
cmp dword [esi + 0x48], edi
jb 0x438863
mov edx, dword [esi + 0x34]
jmp 0x438866
lea edx, [esi + 0x34]
cmp edx, ebp
jne 0x438871
mov byte [esp + 0x38], 0
jmp 0x438891
lea ecx, [esp + 0x38]
mov al, byte [edx]
add edx, 1
test al, al
je 0x43888e
mov byte [ecx], al
add ecx, 1
lea eax, [esp + 0x13b]
cmp ecx, eax
jb 0x438875
mov byte [ecx], 0
cmp dword [esi + 0x64], edi
jb 0x43889b
mov edx, dword [esi + 0x50]
jmp 0x43889e
lea edx, [esi + 0x50]
cmp edx, ebp
jne 0x4388ac
mov byte [esp + 0x13c], 0
jmp 0x4388cf
lea ecx, [esp + 0x13c]
mov al, byte [edx]
add edx, 1
test al, al
je 0x4388cc
mov byte [ecx], al
add ecx, 1
lea eax, [esp + 0x15b]
cmp ecx, eax
jb 0x4388b3
mov byte [ecx], 0
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x161], ecx
mov edx, dword [esi + 0x74]
mov dword [esp + 0x165], edx
mov al, byte [esi + 0x68]
mov byte [esp + 0x160], al
mov ecx, dword [esi + 0x80]
mov dword [esp + 0x171], ecx
mov eax, dword [esi + 0x98]
cmp eax, ebp
jne 0x43890d
mov dword [esp + 0x175], ebp
jmp 0x43891f
mov edx, dword [esi + 0x9c]
sub edx, eax
sar edx, 5
mov dword [esp + 0x175], edx
mov edx, dword [0x4fd95c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x3c]
push ecx
push edx
mov dword [esp + 0x1c], 0x141
call fcn.0041d170
xor eax, eax
sub esp, 0xc
mov ecx, esp
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x18d]
push eax
lea ecx, [esp + 0x34]
call fcn.004344e0
mov ecx, dword [esp + 0x175]
xor edi, edi
cmp ecx, ebp
jle 0x438b31
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
nop
mov ecx, dword [esi + 0x98]
cmp ecx, ebp
je 0x438999
mov eax, dword [esi + 0x9c]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x43899e
call fcn.00486310
mov ebp, dword [esi + 0x98]
mov ebx, dword [esp + 0x1c]
add ebp, dword [esp + 0x14]
test ebx, ebx
je 0x4389cb
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4389d4
call fcn.00486310
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x10]
mov dword [edx + ebx], ecx
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x4389f7
mov eax, dword [esi + 0x9c]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x4389fc
call fcn.00486310
mov ebp, dword [esi + 0x98]
mov ebx, dword [esp + 0x1c]
add ebp, dword [esp + 0x14]
test ebx, ebx
je 0x438a29
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x438a32
call fcn.00486310
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 4]
mov eax, dword [esp + 0x10]
mov dword [eax + ebx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov dword [eax + ecx + 8], edx
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x438a61
mov eax, dword [esi + 0x9c]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x438a66
call fcn.00486310
mov ebp, dword [esi + 0x98]
mov ebx, dword [esp + 0x1c]
add ebp, dword [esp + 0x14]
test ebx, ebx
je 0x438a93
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x438a9c
call fcn.00486310
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [eax + ebx + 0xc], edx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x438acb
mov eax, dword [esi + 0x9c]
sub eax, ecx
sar eax, 5
cmp edi, eax
jb 0x438ad0
call fcn.00486310
mov ebp, dword [esi + 0x98]
mov ebx, dword [esp + 0x1c]
add ebp, dword [esp + 0x14]
test ebx, ebx
je 0x438afd
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x438b06
call fcn.00486310
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x20
mov dword [eax + ebx + 0x14], ecx
mov ecx, dword [esp + 0x175]
add edi, 1
add eax, 0x18
xor ebp, ebp
cmp edi, ecx
mov dword [esp + 0x10], eax
jl 0x438980
mov esi, dword [esp + 0x1c]
cmp esi, ebp
je 0x438b52
mov edx, dword [esp + 0x20]
sub edx, esi
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x438b62
call fcn.00486310
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x175]
mov eax, dword [0x4fd95c]
lea ecx, [ecx + ecx*2]
add ecx, ecx
lea edx, [esp + 0x10]
push edx
add ecx, ecx
add ecx, ecx
push esi
push eax
mov dword [esp + 0x1c], ecx
call fcn.0041d170
add esp, 0xc
lea ecx, [esp + 0x28]
call fcn.0041edc0
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov eax, dword [0x4fd958]
jmp 0x438803
mov ecx, dword [0x4fd95c]
push 1
push ebp
push ebp
push ecx
call fcn.0041d070
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp eax, ebp
mov byte [0x4fd961], 0
je 0x438bc9
push eax
call fcn.004655fe
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret