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

Disassembly:
push 0xffffffffffffffff
push 0x53eb38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov edx, dword [esp + 0x64]
push edi
push 0
mov edi, ecx
push 0
push 0
lea eax, [esp + 0x2c]
push 0
lea ecx, [esp + 0x78]
push eax
push ecx
push 0
push 0
push edx
mov ecx, edi
mov dword [esp + 0x58], edi
call fcn.0047bf10
mov esi, eax
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x1c]
push 0
lea eax, [esp + 0x3c]
push edx
push eax
push 0
push 0
push ecx
mov ecx, edi
call fcn.0047bf10
cmp esi, 0xd
jne 0x483731
cmp eax, esi
jne 0x483731
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
jne 0x483731
mov eax, dword [ecx + 0xc8]
test eax, eax
jne 0x483263
mov dword [esp + 0x14], 0
jmp 0x48326d
mov edx, dword [ecx + 0xc0]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x64]
test eax, eax
jne 0x483278
xor esi, esi
jmp 0x48327b
mov esi, dword [ecx + 0x5c]
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x4832ae
mov edi, dword [esp + 0x14]
jmp 0x48328d
mov ecx, dword [esp + 0x68]
mov eax, dword [esi + eax*4]
add eax, edi
push eax
call fcn.004ca8d0
cmp eax, 1
je 0x4832aa
mov eax, dword [esp + 0x20]
dec eax
test eax, eax
mov dword [esp + 0x20], eax
jg 0x483289
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4832dd
mov edi, dword [esp + 0x14]
jmp 0x4832c0
mov ecx, dword [esp + 0x68]
mov edx, dword [esi + eax*4]
add edx, edi
push edx
call fcn.004ca8d0
cmp eax, 1
mov eax, dword [esp + 0x10]
je 0x4832dd
dec eax
test eax, eax
mov dword [esp + 0x10], eax
jg 0x4832bc
mov ecx, dword [esp + 0x20]
mov ecx, dword [esi + ecx*4]
mov dword [esp + 0x1c], ecx
mov edi, dword [esi + eax*4]
test ecx, ecx
jle 0x4832ff
mov edx, dword [esp + 0x14]
cmp byte [ecx + edx - 1], 0x6d
jne 0x4832ff
dec ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax]
push ecx
call fcn.004a85a0
mov edx, dword [esp + 0x6c]
add edi, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov edi, dword [edx + 0x64]
add esp, 4
shr edi, 2
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jge 0x483351
mov ebx, dword [esp + 0x14]
mov eax, dword [esi + eax*4]
mov ecx, dword [esp + 0x68]
add eax, ebx
push eax
call fcn.004ca8d0
cmp eax, 1
je 0x483351
mov eax, dword [esp + 0x10]
inc eax
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x483330
mov eax, dword [esp + 0x68]
xor ecx, ecx
cmp dword [eax + 0x78], ecx
jne 0x483360
xor esi, esi
jmp 0x483363
mov esi, dword [eax + 0x70]
mov edx, dword [eax + 0x78]
mov eax, 0x38e38e39
mul edx
mov ebp, edx
mov dword [esp + 0x24], ecx
shr ebp, 1
cmp ebp, ecx
mov dword [esp + 0x28], ecx
jle 0x4835ca
mov edx, dword [esp + 0x1c]
mov cl, byte [esi]
mov ebx, dword [esi + 1]
inc esi
mov byte [esp + 0x6c], cl
mov eax, dword [esp + 0x6c]
add esi, 4
and eax, 0xff
mov edi, dword [esi]
add esi, 4
dec eax
cmp eax, 3
ja case.default.0x4833a6
jmp dword [eax*4 + 0x483758]
mov eax, dword [esp + 0x18]
cmp edx, ebx
jg 0x4833c3
cmp eax, ebx
jle 0x4833c3
cmp eax, edi
jle 0x483478
jmp 0x4833c7
cmp eax, edi
jle case.default.0x4833a6
cmp edx, ebx
jle case.default.0x4833a6
cmp edx, edi
jle 0x483478
jmp case.default.0x4833a6
mov eax, dword [esp + 0x18]
inc edi
cmp edx, ebx
jg 0x4833ec
cmp eax, ebx
jle 0x4833ec
cmp eax, edi
jle 0x48348a
jmp 0x4833f0
cmp eax, edi
jle 0x4833fc
cmp edx, ebx
jle 0x4833fc
cmp edx, edi
jl 0x48348a
mov eax, dword [esp + 0x24]
test eax, eax
jne case.default.0x4833a6
cmp cl, 2
je case.default.0x4833a6
cmp edx, ebx
jle case.default.0x4833a6
cmp dword [esp + 0x18], edi
jg case.default.0x4833a6
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x28]
inc eax
cmp eax, ebp
mov dword [esp + 0x28], eax
jl 0x483385
cmp dword [esp + 0x24], 1
jne 0x4835ca
mov ecx, dword [esp + 0x14]
lea esi, [edx + ecx]
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 0xc8]
mov edx, dword [esp + 0x18]
cmp eax, edx
jl 0x483452
mov eax, edx
lea edi, [eax + ecx]
xor ebp, ebp
cmp esi, edi
jae 0x4835ca
mov bl, byte [esi]
cmp bl, 0x6d
mov byte [esp + 0x6c], bl
jne 0x4834cc
mov al, byte [esi]
inc esi
cmp al, 0x6d
mov byte [esp + 0x6c], al
jne 0x48349c
inc ebp
jmp 0x4834a7
push 0x587ed4
call fcn.004d9bb0
add esp, 4
jmp 0x483731
push 0x587e98
call fcn.004d9bb0
add esp, 4
jmp 0x483731
cmp al, 0x74
jne 0x4834a7
dec ebp
je 0x4835c2
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x4834c2
mov ecx, esi
call fcn.004c7bc0
add esi, eax
cmp esi, edi
jae 0x4835ca
jmp 0x48346a
cmp bl, 0x6b
jne 0x48350f
mov al, byte [esi]
inc esi
cmp al, 0x6b
mov byte [esp + 0x6c], al
jne 0x4834df
inc ebp
jmp 0x4834ea
cmp al, 0x72
jne 0x4834ea
dec ebp
je 0x4835c2
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x483505
mov ecx, esi
call fcn.004c7bc0
add esi, eax
cmp esi, edi
jae 0x4835ca
jmp 0x4834d1
cmp bl, 0x6c
jne 0x48354e
mov al, byte [esi]
inc esi
cmp al, 0x6c
mov byte [esp + 0x6c], al
jne 0x483522
inc ebp
jmp 0x48352d
cmp al, 0x73
jne 0x48352d
dec ebp
je 0x4835c2
mov edx, dword [esp + 0x6c]
push edx
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x483548
mov ecx, esi
call fcn.004c7bc0
add esi, eax
cmp esi, edi
jae 0x4835ca
jmp 0x483514
cmp bl, 0x70
jne 0x483589
mov bl, byte [esi]
inc esi
cmp bl, 0x70
mov byte [esp + 0x6c], bl
jne 0x483560
inc ebp
mov eax, dword [esp + 0x6c]
push eax
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x48357b
mov ecx, esi
call fcn.004c7bc0
add esi, eax
cmp bl, 0x71
jne 0x483583
dec ebp
je 0x4835c2
cmp esi, edi
jae 0x4835ca
jmp 0x483553
mov ecx, dword [esp + 0x6c]
inc esi
push ecx
call fcn.004ca130
add esp, 4
cmp eax, 1
jne 0x4835b0
cmp bl, 0x6e
je 0x483746
mov ecx, esi
call fcn.004c7bc0
add esi, eax
jmp 0x4835c2
cmp bl, 0x50
je 0x483746
cmp bl, 0x53
je 0x483746
cmp esi, edi
jb 0x48345f
lea ecx, [esp + 0x44]
call fcn.00470b30
xor ebp, ebp
push 0x6a
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x40], ebp
mov word [esp + 0x44], 0xffff
mov word [esp + 0x46], bp
call fcn.00470e70
lea edx, [esp + 0x3c]
push 8
push edx
lea ecx, [esp + 0x4c]
call fcn.004713f0
push ebp
lea ecx, [esp + 0x48]
call fcn.00470df0
mov esi, dword [esp + 0x70]
mov ebx, 0x587e80
cmp esi, ebp
jne 0x483620
mov ebx, 0x587e6c
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x48]
call fcn.00470df0
push ebx
lea ecx, [esp + 0x48]
call fcn.00470ea0
push 0x136
lea ecx, [esp + 0x48]
call fcn.00470e30
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x4c]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x18]
neg esi
sbb esi, esi
mov ecx, edi
and esi, 0x20
add esi, 8
or word [eax + 7], si
mov esi, dword [esp + 0x1c]
sub ecx, esi
mov dword [eax + 1], ecx
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x30]
mov eax, esi
push edx
neg eax
sbb eax, eax
push esi
and eax, ecx
mov ecx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x28]
push eax
add ecx, 0xb8
call fcn.004e59e0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x68]
push esi
push edx
call fcn.004c8730
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push 4
push eax
mov eax, dword [esp + 0x70]
lea edx, [ecx*4]
push edx
lea ecx, [eax + 0x54]
call fcn.00471350
mov edx, dword [esp + 0x1c]
lea ecx, [esi + edi]
add esi, edx
push ecx
mov ecx, dword [esp + 0x6c]
push esi
call fcn.004c86b0
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
push ebp
mov eax, dword [esi + 0x78]
push 1
push ebp
add edx, ecx
push eax
push edx
mov ecx, esi
call fcn.004a30b0
push 1
push ebp
push ebp
mov ecx, esi
call fcn.004a3ae0
push 1
push ebp
mov ecx, esi
call fcn.004a6f60
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x44], 0x5477b0
call fcn.00470d30
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x54
ret 0xc
push 0x587e34
call fcn.004d9bb0
add esp, 4
jmp 0x483731