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

Disassembly:
mov ecx, dword [0x500244]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4390de
sub esp, 0x94
mov ecx, dword [0x500244]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x98]
mov ebx, dword [esp + 0x9c]
xor eax, eax
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x438b8e
lea eax, [ebp + 1]
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
mov ecx, dword [esp + 0x90]
cmp eax, 4
jge 0x438c7f
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], edx
mov dword [esp + 0x80], ebx
mov ecx, dword [0x500244]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x448]
mov dword [esp + 0x34], edx
mov ebx, dword [ecx + 0x44c]
shl edx, 0x11
mov ebp, dword [esp + 0x34]
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x448], ebx
mov dword [ecx + 0x44c], ebp
mov ecx, dword [0x4e18c0]
lea edx, [ebx + ebp]
test ecx, ecx
je 0x4390d8
mov dword [esp + 0x28], edx
mov ebx, dword [0x4e18c8]
mov ebp, eax
mov eax, edx
xor edx, edx
div ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x28]
xor edx, edx
div ecx
test ebx, ebx
je 0x4390d3
mov dword [esp + 0x7c], ebp
xor edx, edx
div ebx
mov eax, dword [0x4e18c4]
mov eax, dword [eax + edx*4]
cmp ebp, 3
sete dl
mov byte [esp + 0x20], dl
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x60], eax
mov eax, 1
mov byte [esp + 0x23], al
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x50]
jmp 0x438d0c
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], ebp
xchg edi, eax
mov byte [esp + 0xb8], al
xchg edi, eax
add esp, 0x94
ret
mov dword [esp + 0x88], eax
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x80], eax
mov edi, esi
mov dword [esp + 0x88], ecx
mov esi, ebp
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x7c]
mov ecx, edx
movzx edx, byte [esp + 0x20]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], esi
mov edx, dword [esp + 0x78]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
movzx esi, byte [esp + 0x23]
xchg esi, eax
test al, al
xchg esi, eax
je 0x438d3e
xor esi, esi
jmp 0x438d55
inc edx
mov dword [esp + 0x38], edx
add eax, ebx
test ecx, ecx
je 0x4390ce
xor edx, edx
div ecx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x3c], ecx
je 0x438b6e
xchg edi, eax
mov byte [esp + 0x21], al
xchg edi, eax
xchg esi, eax
mov byte [esp + 0x23], al
xchg esi, eax
lea eax, [0x4e2934]
mov dword [esp], eax
call fcn.00466f60
movzx eax, byte [esp + 4]
test al, al
jne 0x439075
mov ecx, dword [0x4e1854]
mov eax, dword [esp + 0x40]
cmp eax, ecx
jae 0x4390c9
mov ecx, dword [0x4e1850]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x90]
cmp edx, ecx
jne 0x438dd0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x70]
movzx esi, byte [esp + 0x21]
jmp 0x438cbe
mov dword [esp + 0x8c], ecx
mov ebx, dword [esp + 0x7c]
cmp ebx, 3
je 0x438de4
xor eax, eax
jmp 0x438e21
mov ecx, dword [0x4e1870]
mov edx, dword [0x4e1874]
mov ebx, dword [0x4e1878]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0043f4f0
movzx eax, byte [esp + 0x10]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x7c]
test al, al
jne 0x438e45
mov ebp, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
movzx edx, byte [esp + 0x21]
jmp 0x438f27
test byte [ecx], al
lea eax, [ecx + 0x1198]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 8], eax
call fcn.0044c1c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
setne dl
test ecx, ecx
setne bl
or ebx, edx
test bl, bl
je 0x438ec4
mov edx, dword [esp + 0x88]
test edx, edx
sete bl
mov ebp, dword [esp + 0x70]
test ebp, ebp
xchg esi, ebx
sete bl
xchg esi, ebx
and ebx, esi
test bl, bl
jne 0x438ecf
cmp edx, ecx
setg bl
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebp, eax
xchg edi, ebx
seta bl
xchg edi, ebx
and edi, esi
or edi, ebx
xchg edi, eax
test al, al
xchg edi, eax
jne 0x438ecf
mov ecx, edx
mov eax, ebp
jmp 0x438ecf
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x70]
movzx edx, byte [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
test dl, dl
jne 0x438ee7
movzx edx, byte [esp + 0x21]
jmp 0x438f27
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.0043fe20
mov eax, dword [esp + 4]
test eax, eax
jne 0x439023
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov edx, 1
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ecx
mov byte [esp + 0x22], dl
mov dword [esp + 0x78], ebx
mov esi, dword [0x4e1860]
mov edi, dword [0x4e1864]
mov eax, dword [0x4e1868]
mov ecx, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0043f4f0
movzx eax, byte [esp + 0x10]
test al, al
jne 0x438fa2
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
movzx ecx, byte [esp + 0x20]
mov byte [esp + 8], cl
call fcn.004401f0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x438fcc
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x84]
movzx esi, byte [esp + 0x22]
jmp 0x438cbe
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb4], eax
movzx eax, byte [esp + 0x22]
mov byte [esp + 0xb8], al
add esp, 0x94
ret
movzx ecx, byte [esp + 8]
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], cl
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xb4], eax
movzx eax, byte [esp + 0x21]
mov byte [esp + 0xb8], al
add esp, 0x94
ret
mov dword [esp + 0xa0], 0
mov byte [esp + 0xa4], 0
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xb4], eax
mov byte [esp + 0xb8], 1
add esp, 0x94
ret
call fcn.00462d00
call fcn.0042ed50
call fcn.0042ed50
call fcn.0042ed50
nop
call fcn.00461880
jmp fcn.00438b20