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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xcc
mov eax, dword [esp + 0xe0]
cmp dword [esp + 0xf0], 0x847
mov ebx, dword [esp + 0xec]
mov dword [esp + 0x58], 0xffffffff
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov byte [esp + 0x67], al
ja 0x4815a6
mov eax, dword [esp + 0x58]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
lea edx, [ebx + 0x270]
lea edi, [ebx + 0x274]
movzx eax, byte [esp + 0x68]
and edi, 0xfffffffc
mov ecx, edx
sub ecx, edi
add ecx, 0x34
mov dword [esp + 0x6c], eax
mov esi, eax
shr ecx, 2
xor eax, eax
mov dword [ebx + 0x270], 0
mov dword [edx + 0x30], 0
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x2a4]
mov dword [esp + 0xa0], edi
mov ecx, edi
lea edi, [ebx + 0x2a8]
mov dword [ebx + 0x2a4], 0
mov dword [ebx + 0x2dc], 0
mov dword [esp + 0x3c], edi
and edi, 0xfffffffc
sub ecx, edi
add ecx, 0x3c
shr ecx, 2
cmp esi, 0xc
rep stosd dword es:[edi], eax
jbe 0x481635
mov dword [esp + 0x58], 0xffffffd4
mov eax, dword [esp + 0x58]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x20], 0x368
mov dword [esp + 8], edx
mov dword [esp + 4], 0x100
mov dword [esp + 0x24], eax
lea eax, [ebx + 0x4e0]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xbc]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x3e0]
mov dword [esp], eax
call fcn.00401c40
cmp eax, 0xffffff88
mov dword [esp + 0x58], eax
ja 0x481597
mov ebp, dword [esp + 0xb8]
cmp dword [esp + 0x6c], ebp
jb 0x48161e
cmp dword [esp + 0x6c], 0xb
jbe 0x4816cf
cmp ebp, 0xb
ja 0x4816cf
mov byte [esp + 0x67], 0xb
mov dword [esp + 0x6c], 0xb
mov ecx, dword [ebx + ebp*4 + 0x270]
test ecx, ecx
jne 0x482117
mov edx, dword [ebx + ebp*4 + 0x26c]
lea eax, [ebp - 1]
mov dword [esp + 0x34], eax
test edx, edx
jne 0x4817ce
mov edi, dword [ebx + ebp*4 + 0x268]
lea eax, [ebp - 2]
mov dword [esp + 0x34], eax
test edi, edi
jne 0x4817ce
mov esi, dword [ebx + ebp*4 + 0x264]
lea eax, [ebp - 3]
mov dword [esp + 0x34], eax
test esi, esi
jne 0x4817ce
mov ecx, dword [ebx + ebp*4 + 0x260]
lea eax, [ebp - 4]
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x4817ce
mov edx, dword [ebx + ebp*4 + 0x25c]
lea eax, [ebp - 5]
mov dword [esp + 0x34], eax
test edx, edx
jne 0x4817ce
mov edi, dword [ebx + ebp*4 + 0x258]
lea eax, [ebp - 6]
mov dword [esp + 0x34], eax
test edi, edi
jne 0x4817ce
mov esi, dword [ebx + ebp*4 + 0x254]
lea eax, [ebp - 7]
mov dword [esp + 0x34], eax
test esi, esi
jne 0x4817ce
mov ecx, dword [ebx + ebp*4 + 0x250]
lea eax, [ebp - 8]
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x4817ce
mov edx, dword [ebx + ebp*4 + 0x24c]
lea eax, [ebp - 9]
mov dword [esp + 0x34], eax
test edx, edx
jne 0x4817ce
mov edi, dword [ebx + ebp*4 + 0x248]
lea eax, [ebp - 0xa]
mov dword [esp + 0x34], eax
test edi, edi
jne 0x4817ce
mov esi, dword [ebx + ebp*4 + 0x244]
lea eax, [ebp - 0xb]
mov dword [esp + 0x34], eax
test esi, esi
jne 0x4817ce
mov ecx, dword [ebx + ebp*4 + 0x240]
lea edx, [ebp - 0xc]
lea eax, [ebp - 0xd]
test ecx, ecx
cmovne eax, edx
mov dword [esp + 0x34], eax
add eax, 1
cmp eax, 1
mov esi, eax
mov dword [esp + 0x44], eax
jbe 0x4820b7
cmp esi, 2
mov eax, dword [ebx + 0x274]
mov dword [ebx + 0x2ac], 0
je 0x4818d7
mov edx, dword [ebx + 0x278]
mov dword [ebx + 0x2b0], eax
add edx, eax
cmp esi, 3
mov eax, edx
je 0x4818d7
add eax, dword [ebx + 0x27c]
cmp esi, 4
mov dword [ebx + 0x2b4], edx
je 0x4818d7
mov edx, dword [ebx + 0x280]
mov dword [ebx + 0x2b8], eax
add edx, eax
cmp esi, 5
mov eax, edx
je 0x4818d7
add eax, dword [ebx + 0x284]
cmp esi, 6
mov dword [ebx + 0x2bc], edx
je 0x4818d7
mov edx, dword [ebx + 0x288]
mov dword [ebx + 0x2c0], eax
add edx, eax
cmp esi, 7
mov eax, edx
je 0x4818d7
add eax, dword [ebx + 0x28c]
cmp esi, 8
mov dword [ebx + 0x2c4], edx
je 0x4818d7
mov edx, dword [ebx + 0x290]
mov dword [ebx + 0x2c8], eax
add edx, eax
cmp esi, 9
mov eax, edx
je 0x4818d7
add eax, dword [ebx + 0x294]
cmp esi, 0xa
mov dword [ebx + 0x2cc], edx
je 0x4818d7
mov edx, dword [ebx + 0x298]
mov dword [ebx + 0x2d0], eax
add edx, eax
cmp esi, 0xb
mov eax, edx
je 0x4818d7
add eax, dword [ebx + 0x29c]
cmp esi, 0xc
mov dword [ebx + 0x2d4], edx
je 0x4818d7
mov edx, dword [ebx + 0x2a0]
mov dword [ebx + 0x2d8], eax
add edx, eax
mov eax, edx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
mov dword [ebx + 0x2a8], eax
mov dword [edx + edi*4], eax
mov eax, dword [esp + 0xbc]
test eax, eax
mov dword [esp + 0x38], eax
je 0x482100
mov edi, dword [esp + 0x3c]
xor eax, eax
movzx edx, byte [ebx + eax + 0x3e0]
lea ecx, [edi + edx*4]
mov edx, dword [ecx]
lea esi, [edx + 1]
mov dword [ecx], esi
mov byte [ebx + edx + 0x2e0], al
add eax, 1
cmp dword [esp + 0x38], eax
ja 0x481901
mov eax, ebp
mov dword [ebx + 0x2a8], 0
not eax
add eax, dword [esp + 0x6c]
cmp dword [esp + 0x44], 1
jbe 0x4820e9
mov edx, dword [ebx + 0x274]
mov edi, dword [esp + 0x44]
lea ecx, [eax + 1]
mov dword [ebx + 4], 0
shl edx, cl
cmp edi, 2
jbe 0x481a4a
mov esi, dword [ebx + 0x278]
lea ecx, [eax + 2]
mov dword [ebx + 8], edx
shl esi, cl
add esi, edx
cmp edi, 3
je 0x481a4a
mov edx, dword [ebx + 0x27c]
lea ecx, [eax + 3]
mov dword [ebx + 0xc], esi
shl edx, cl
add edx, esi
cmp edi, 4
je 0x481a4a
mov esi, dword [ebx + 0x280]
lea ecx, [eax + 4]
mov dword [ebx + 0x10], edx
shl esi, cl
add esi, edx
cmp edi, 5
je 0x481a4a
mov edx, dword [ebx + 0x284]
lea ecx, [eax + 5]
mov dword [ebx + 0x14], esi
shl edx, cl
add edx, esi
cmp edi, 6
je 0x481a4a
mov esi, dword [ebx + 0x288]
lea ecx, [eax + 6]
mov dword [ebx + 0x18], edx
shl esi, cl
add esi, edx
cmp edi, 7
je 0x481a4a
mov edx, dword [ebx + 0x28c]
lea ecx, [eax + 7]
mov dword [ebx + 0x1c], esi
shl edx, cl
add edx, esi
cmp edi, 8
je 0x481a4a
mov esi, dword [ebx + 0x290]
lea ecx, [eax + 8]
mov dword [ebx + 0x20], edx
shl esi, cl
add esi, edx
cmp edi, 9
je 0x481a4a
mov edx, dword [ebx + 0x294]
lea ecx, [eax + 9]
mov dword [ebx + 0x24], esi
shl edx, cl
add edx, esi
cmp edi, 0xa
je 0x481a4a
mov esi, dword [ebx + 0x298]
lea ecx, [eax + 0xa]
mov dword [ebx + 0x28], edx
shl esi, cl
add esi, edx
cmp edi, 0xb
mov edx, edi
je 0x481a4a
mov edi, dword [ebx + 0x29c]
add eax, 0xb
mov dword [ebx + 0x2c], esi
mov ecx, eax
shl edi, cl
mov eax, edi
add eax, esi
cmp edx, 0xc
je 0x481a4a
mov dword [ebx + 0x30], eax
lea eax, [ebp + 1]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
sub eax, dword [esp + 0x34]
sub edi, eax
mov edx, eax
mov dword [esp + 0x8c], eax
lea edi, [edi + 1]
cmp edx, edi
jae 0x481a99
cmp dword [esp + 0x44], 1
jbe 0x481a99
imul esi, edx, 0x34
mov ecx, edx
add esi, ebx
mov eax, 1
mov edx, dword [ebx + eax*4]
shr edx, cl
mov dword [esi + eax*4], edx
add eax, 1
cmp eax, dword [esp + 0x44]
jne 0x481a7e
add ecx, 1
add esi, 0x34
cmp ecx, edi
jne 0x481a79
lea eax, [ebx + 0x2e0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x6c]
cmp dword [esp + 0x44], 1
jle 0x481da6
mov edx, dword [esp + 0xe0]
add eax, ebp
imul edi, dword [esp + 0x38], 0x34
mov dword [esp + 0x94], eax
lea eax, [ebp + 0x100]
add edx, 4
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x3c]
shl eax, 0x10
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x6c]
lea eax, [ebx + edi - 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa0]
sub edx, ebp
not ebp
mov dword [esp + 0x78], edx
lea edx, [ebx + 4]
mov dword [esp + 0xac], ebp
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x44]
lea eax, [eax + edx*4]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x7c]
mov edi, dword [eax]
mov ebp, dword [eax + 4]
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
cmp eax, edx
jb 0x481f1d
mov edx, dword [esp + 0x98]
and eax, 0x1f
mov ecx, eax
mov eax, 1
mov ebx, dword [edx]
mov edx, eax
shl edx, cl
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x94]
test edx, edx
cmovg eax, edx
cmp edi, ebp
mov dword [esp + 0x60], eax
je 0x481d6e
lea edx, [eax*4]
mov esi, eax
mov eax, dword [esp + 0x50]
add edi, dword [esp + 0x4c]
add ebp, dword [esp + 0x4c]
add eax, edx
add edx, dword [esp + 0xa0]
mov dword [esp + 0xa4], eax
mov eax, 4
mov dword [esp + 0x5c], edi
mov edi, eax
mov eax, dword [esp + 0x6c]
add eax, dword [esp + 0x94]
shl edi, cl
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x74], edx
sub eax, esi
lea edi, [edi + ebx*4]
shl eax, 0x10
add eax, 0x2000000
mov dword [esp + 0x48], edi
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0xac]
add eax, dword [esp + 0x78]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x5c]
movzx eax, byte [eax]
cmp dword [esp + 0x60], 1
movzx esi, al
je 0x481c7c
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x90]
xor ebx, ebx
lea ecx, [esi + eax]
xor eax, eax
add eax, ecx
mov edx, ecx
adc edx, ebx
cmp edi, 2
je 0x481f0f
cmp edi, 4
je 0x481efb
mov edi, dword [esp + 0xa4]
mov ecx, dword [edi]
test ecx, ecx
jle 0x481c6e
lea ebx, [ecx - 1]
mov edi, dword [esp + 0x48]
shr ebx, 3
add ebx, 1
mov ecx, edi
shl ebx, 5
add ebx, edi
nop
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ecx, 0x20
mov dword [ecx - 0x18], eax
mov dword [ecx - 0x14], edx
mov dword [ecx - 0x10], eax
mov dword [ecx - 0xc], edx
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
cmp ecx, ebx
jne 0x481c50
mov edx, dword [esp + 0x60]
cmp dword [esp + 0x44], edx
jle 0x481d4d
mov eax, dword [esp + 0x74]
add esi, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], eax
mov esi, esi
lea edi, [edi]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov ebp, dword [eax + 4]
add ecx, edx
add ebp, edi
add edi, dword [eax]
mov eax, dword [esi + edx*4]
mov esi, dword [esp + 0x48]
and ecx, 0x1f
lea esi, [esi + eax*4]
mov eax, 1
shl eax, cl
cmp eax, 2
je 0x481e3f
jbe 0x481e03
cmp eax, 4
je 0x481dfa
cmp eax, 8
je 0x481d29
jmp 0x481e85
movzx eax, byte [edi]
xor edx, edx
shl eax, 8
add eax, dword [esp + 0x34]
mov ecx, eax
mov ebx, ecx
mov ecx, 0
add eax, ecx
adc edx, ebx
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esi + 0xc], edx
add edi, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
add esi, 0x20
mov dword [esi - 8], eax
mov dword [esi - 4], edx
cmp ebp, edi
jne 0x481cf3
add dword [esp + 0x38], 1
add dword [esp + 0x40], 4
mov eax, dword [esp + 0x38]
sub dword [esp + 0x34], 0x10000
cmp dword [esp + 0x44], eax
jg 0x481ca0
add dword [esp + 0x5c], 1
mov edi, dword [esp + 0x84]
mov eax, dword [esp + 0x5c]
add dword [esp + 0x48], edi
cmp dword [esp + 0x80], eax
jne 0x481bf7
add dword [esp + 0x7c], 4
add dword [esp + 0x78], 1
mov eax, dword [esp + 0x7c]
add dword [esp + 0x98], 4
sub dword [esp + 0x94], 1
sub dword [esp + 0x70], 0x10000
sub dword [esp + 0x50], 0x34
cmp dword [esp + 0xa8], eax
jne 0x481b28
movzx eax, byte [esp + 0x67]
shl eax, 0x10
mov edx, eax
mov eax, dword [esp + 0x68]
and eax, 0xff00ffff
or eax, edx
mov edx, dword [esp + 0xe0]
mov ah, 1
mov dword [edx], eax
jmp 0x481597
movzx eax, byte [edi]
xor edx, edx
shl eax, 8
add eax, dword [esp + 0x34]
mov ecx, eax
mov ebx, ecx
mov ecx, 0
add eax, ecx
adc edx, ebx
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esi + 0xc], edx
add edi, 1
add esi, 0x10
cmp ebp, edi
jne 0x481dd0
jmp 0x481d2d
cmp eax, 1
jne 0x481e85
cmp ebp, edi
mov edx, dword [esp + 0x34]
je 0x481d2d
movzx eax, byte [edi]
add edi, 1
add esi, 4
shl eax, 8
add eax, edx
mov ebx, eax
mov ecx, eax
mov word [esi - 4], ax
shr ebx, 0x10
shr ecx, 0x18
cmp ebp, edi
mov byte [esi - 2], bl
mov byte [esi - 1], cl
jne 0x481e14
jmp 0x481d2d
cmp ebp, edi
mov edx, dword [esp + 0x34]
je 0x481d2d
nop
lea esi, [esi]
movzx eax, byte [edi]
add edi, 1
add esi, 8
shl eax, 8
add eax, edx
mov ebx, eax
mov ecx, eax
mov word [esi - 8], ax
shr ebx, 0x10
shr ecx, 0x18
mov word [esi - 4], ax
mov byte [esi - 6], bl
mov byte [esi - 5], cl
mov byte [esi - 2], bl
mov byte [esi - 1], cl
cmp ebp, edi
jne 0x481e50
jmp 0x481d2d
mov eax, 4
shl eax, cl
cmp ebp, edi
mov dword [esp + 0x3c], eax
je 0x481d2d
nop
lea esi, [esi]
movzx ecx, byte [edi]
xor ebx, ebx
shl ecx, 8
add ecx, dword [esp + 0x34]
mov eax, ecx
mov edx, eax
mov eax, 0
add eax, ecx
adc edx, ebx
mov ebx, dword [esp + 0x3c]
add ebx, esi
cmp ebx, esi
je 0x481eef
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ecx, 0x20
mov dword [ecx - 0x18], eax
mov dword [ecx - 0x14], edx
mov dword [ecx - 0x10], eax
mov dword [ecx - 0xc], edx
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
cmp ebx, ecx
jne 0x481ec5
lea eax, [esi + 0x20]
sub ebx, eax
and ebx, 0xffffffe0
lea esi, [esi + ebx + 0x20]
add edi, 1
cmp ebp, edi
jne 0x481ea0
jmp 0x481d2d
mov edi, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 4], edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], edx
jmp 0x481c6e
mov edi, dword [esp + 0x48]
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x481c6e
mov ecx, eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x9c]
and ecx, 0x1f
add ebp, eax
add edi, eax
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
lea esi, [edx + eax*4]
mov eax, 1
shl eax, cl
cmp eax, 2
je 0x481fdb
jbe 0x482014
cmp eax, 4
je 0x48200b
cmp eax, 8
je 0x481fa3
jmp 0x48204a
movzx ecx, byte [edi]
xor ebx, ebx
add ecx, dword [esp + 0x70]
mov eax, ecx
mov edx, eax
mov eax, 0
add eax, ecx
adc edx, ebx
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esi + 0xc], edx
add edi, 1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
add esi, 0x20
mov dword [esi - 8], eax
mov dword [esi - 4], edx
cmp ebp, edi
jne 0x481f70
jmp 0x481d6e
movzx eax, byte [edi]
add esi, 8
add edi, 1
add eax, dword [esp + 0x70]
mov ecx, eax
mov edx, eax
mov word [esi - 8], ax
shr ecx, 0x10
shr edx, 0x18
mov word [esi - 4], ax
mov byte [esi - 6], cl
mov byte [esi - 5], dl
mov byte [esi - 2], cl
mov byte [esi - 1], dl
cmp ebp, edi
jne 0x481fb0
jmp 0x481d6e
movzx eax, byte [edi]
xor edx, edx
add eax, dword [esp + 0x70]
mov ecx, eax
mov ebx, ecx
mov ecx, 0
add eax, ecx
adc edx, ebx
mov dword [esi], eax
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov dword [esi + 0xc], edx
add edi, 1
add esi, 0x10
cmp ebp, edi
jne 0x481fe4
jmp 0x481d6e
cmp eax, 1
je 0x482041
jmp 0x48204a
movzx eax, byte [edi]
add esi, 4
add edi, 1
add eax, dword [esp + 0x70]
mov ecx, eax
mov edx, eax
mov word [esi - 4], ax
shr ecx, 0x10
shr edx, 0x18
mov byte [esi - 2], cl
mov byte [esi - 1], dl
cmp ebp, edi
jne 0x482020
jmp 0x481d6e
mov eax, 4
shl eax, cl
cmp ebp, edi
mov dword [esp + 0x34], eax
je 0x481d6e
movzx ecx, byte [edi]
xor ebx, ebx
add ecx, dword [esp + 0x70]
mov eax, ecx
mov edx, eax
mov eax, 0
add eax, ecx
adc edx, ebx
mov ebx, dword [esp + 0x34]
add ebx, esi
cmp ebx, esi
je 0x4820ab
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ecx, 0x20
mov dword [ecx - 0x18], eax
mov dword [ecx - 0x14], edx
mov dword [ecx - 0x10], eax
mov dword [ecx - 0xc], edx
mov dword [ecx - 8], eax
mov dword [ecx - 4], edx
cmp ebx, ecx
jne 0x48207f
lea eax, [esi + 0x20]
sub ebx, eax
mov eax, ebx
and eax, 0xffffffe0
lea esi, [esi + eax + 0x20]
add edi, 1
cmp ebp, edi
jne 0x48205d
jmp 0x481d6e
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x2a8], 0
mov dword [eax + esi*4], 0
mov eax, dword [esp + 0xbc]
test eax, eax
mov dword [esp + 0x38], eax
jne 0x4818fb
mov dword [ebx + 0x2a8], 0
lea eax, [ebp + 1]
mov dword [esp + 0x38], eax
sub eax, dword [esp + 0x34]
mov dword [esp + 0x8c], eax
jmp 0x481a99
mov eax, ebp
mov dword [ebx + 0x2a8], 0
not eax
add eax, dword [esp + 0x6c]
jmp 0x481940
mov dword [esp + 0x34], ebp
mov eax, ebp
jmp 0x4817ce