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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x481e23
sub esp, 0xb4
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0045fc46
mov ecx, dword [esp + 0xb8]
movzx edx, byte [ecx + 0xf]
and edx, 0x1f
cmp edx, 0x14
jne 0x48189e
mov dword [esp], ecx
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.00482ea0
lea edi, [esp + 0x8c]
lea esi, [esp + 8]
call fcn.004600fc
lea edi, [esp + 0xc0]
lea esi, [esp + 0x8c]
call fcn.004600fc
add esp, 0xb4
ret
mov dword [esp], ecx
call fcn.00481740
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xbc]
test edx, edx
jl 0x481e0a
cmp edx, eax
jge 0x481e0a
shl edx, 4
mov ebx, dword [ecx + edx + 4]
mov dword [esp + 0x58], ebx
mov ebp, dword [ecx + edx + 0xc]
mov dword [esp + 0x54], ebp
mov ecx, dword [ecx + edx]
nop
mov edx, dword [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0045c460
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00480c50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
nop
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.0045c4a0
mov eax, dword [esp + 8]
mov dword [esp + 0x84], eax
movzx ecx, word [eax + 0x20]
test cx, cx
jne 0x481941
xor edx, edx
jmp 0x481950
movzx edx, cx
cmp edx, 0x100000
ja 0x481e00
lea eax, [0x9ce640]
mov dword [esp], eax
mov dword [esp + 4], 0
lea ecx, [edx + 1]
mov dword [esp + 0x48], ecx
mov dword [esp + 8], ecx
call fcn.004480d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x48]
cmp ecx, 1
jb 0x481985
mov edx, 1
jmp 0x4819be
lea edx, [0x9ce640]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
call fcn.00448250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov ebx, edx
mov edx, ecx
mov ecx, ebx
lea ebp, [0xcb1d7c]
mov dword [eax], ebp
mov esi, dword [0x12ad060]
test esi, esi
jne 0x4819dc
mov esi, dword [esp + 0xb8]
mov dword [eax + 4], esi
jmp 0x4819f6
lea edi, [eax + 4]
mov ebx, eax
mov eax, dword [esp + 0xb8]
call fcn.0045f9a0
mov eax, ebx
mov esi, dword [esp + 0xb8]
mov ebx, esi
mov esi, dword [esp + 0x84]
movzx ebp, byte [esi + 0xc]
xchg ebp, eax
test al, 1
xchg ebp, eax
je 0x481a11
mov ebp, 0x34
jmp 0x481a16
mov ebp, 0x24
mov edi, ebp
movzx ebp, word [esi + 0x20]
test bp, bp
jne 0x481a27
xor ebp, ebp
xor edi, edi
jmp 0x481a41
movzx ebp, bp
add esi, edi
cmp ebp, 0x100000
ja 0x481df4
mov edi, esi
mov esi, dword [esp + 0x84]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
jmp 0x481a75
mov edx, dword [esp + 0x50]
inc edx
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x44]
mov esi, dword [esp + 0x84]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x44], edx
mov esi, dword [esp + 0x50]
cmp ebp, esi
jle 0x481b16
mov ebp, dword [edi + esi*4]
mov dword [esp + 0x7c], ebp
lea esi, [edx + 1]
cmp ecx, esi
jae 0x481ad5
lea ebx, [0x9ce640]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], esi
call fcn.00448250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x64]
mov ecx, edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x44], esi
lea esi, [eax + edx*8]
lea ebp, [0xcb1d7c]
mov dword [esi], ebp
mov esi, dword [0x12ad060]
lea ebp, [eax + edx*8 + 4]
test esi, esi
jne 0x481afe
mov esi, dword [esp + 0x7c]
mov dword [ebp], esi
jmp 0x481a59
mov edx, edi
mov edi, ebp
mov esi, eax
mov eax, dword [esp + 0x7c]
call fcn.0045f9a0
mov eax, esi
mov edi, edx
jmp 0x481a59
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x78], eax
mov ebp, dword [esp + 0x84]
movzx esi, word [ebp + 0x22]
and esi, 0x7fff
test si, si
jne 0x481b38
xor esi, esi
jmp 0x481b5a
movzx edi, word [ebp + 0x20]
add esi, edi
movzx esi, si
cmp esi, 0x100000
ja 0x481de8
movzx edi, di
cmp edi, esi
ja 0x481ddf
sub esi, edi
mov dword [esp + 0x34], esi
lea eax, [0x9ce640]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], esi
call fcn.004480d0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x84]
movzx edx, byte [ecx + 0xc]
test dl, 1
je 0x481b93
mov edx, 0x34
jmp 0x481b98
mov edx, 0x24
movzx ebp, word [ecx + 0x22]
and ebp, 0x7fff
test bp, bp
jne 0x481bad
xor ebx, ebx
xor edx, edx
jmp 0x481be7
movzx esi, word [ecx + 0x20]
add ebp, esi
movzx ebp, bp
mov ebx, esi
lea esi, [edx + ecx]
cmp ebp, 0x100000
ja 0x481dd3
movzx edx, bx
cmp edx, ebp
ja 0x481dca
sub ebp, edx
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl edx, 2
sar ebp, 0x1f
and ebp, edx
lea edx, [esi + ebp]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x34]
xor ebp, ebp
xor edi, edi
jmp 0x481c11
inc ebp
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x3c], edi
cmp ebp, ebx
jge 0x481ca0
mov ecx, dword [edx + ebp*4]
lea edx, [edi + 1]
cmp esi, edx
jae 0x481c6c
mov dword [esp + 0x50], ebp
mov dword [esp + 0x6c], ecx
lea ecx, [0x9ce640]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00448250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x3c], edx
lea ebx, [eax + edi*8]
lea edx, [0xcb1d7c]
mov dword [ebx], edx
mov ebx, dword [0x12ad060]
lea edi, [eax + edi*8 + 4]
test ebx, ebx
jne 0x481c90
mov dword [edi], ecx
jmp 0x481bf9
mov ebx, eax
mov eax, ecx
call fcn.0045f9a0
mov eax, ebx
jmp 0x481bf9
mov dword [esp + 0x40], esi
mov dword [esp + 0x70], eax
mov dword [esp], ecx
call fcn.00482220
movzx eax, byte [esp + 4]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x14], ecx
mov byte [esp + 0x18], al
call fcn.00485780
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
lea ecx, [0x95d220]
mov dword [esp], ecx
call fcn.0040b920
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
call fcn.0045c4e0
mov eax, dword [0x12ad060]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x481d5b
mov eax, dword [esp + 0x88]
mov dword [eax], ecx
jmp 0x481d6b
mov edi, dword [esp + 0x88]
mov eax, ecx
call fcn.0045f9a0
mov eax, edi
mov ecx, dword [esp + 0x80]
lea edx, [0xcb1d7c]
cmp ecx, edx
jne 0x481dae
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], 0x13
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xe4], eax
add esp, 0xb4
ret
mov dword [esp], ecx
lea eax, [0x9da820]
mov dword [esp + 4], eax
lea eax, [0x9ce640]
mov dword [esp + 8], eax
call fcn.00408e40
mov eax, edx
mov ecx, ebp
call fcn.0045fae0
mov edx, ebp
mov ebx, 0x100000
call fcn.0045faa0
mov eax, edi
mov ecx, esi
call fcn.0045fae0
mov edx, esi
mov ebx, 0x100000
call fcn.0045faa0
mov edx, ebp
mov ebx, 0x100000
call fcn.0045faa0
mov ebx, 0x100000
call fcn.0045faa0
lea eax, [0x95cee0]
mov dword [esp], eax
lea eax, [0xc954b4]
mov dword [esp + 4], eax
call fcn.00434020
nop
call fcn.0045e560
jmp fcn.00481820