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

Disassembly:
sub esp, 0x60
mov eax, dword [0x50b0b0]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
push ebx
mov ebx, dword [esp + 0x68]
push esi
xor esi, esi
mov dword [esp + 0x14], eax
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0xc], 0
cmp word [ebx + 0x28], si
jne 0x482800
mov eax, dword [ebx + 0x20]
mov eax, dword [eax]
cmp dword [eax + 0x60], esi
jbe 0x4827c4
lea eax, [esp + 0x10]
push eax
push 4
call fcn.00418650
add esp, 8
cmp byte [ebx + 0x2b], 0
jne 0x48279d
mov eax, dword [ebx + 4]
push 0xa
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48279d
cmp esi, 5
jne 0x482c1e
jmp 0x4827c4
push dword [esp + 0x10]
push ebx
call fcn.0048d150
add esp, 8
cmp byte [ebx + 0x2b], 0
jne 0x4827de
mov eax, dword [ebx + 4]
push 9
push 4
push 4
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
cmp byte [ebx + 0x2b], 0
jne 0x4827de
mov eax, dword [ebx + 4]
push 5
push 1
push 3
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x38]
call eax
add esp, 0x10
or eax, 0xffffffff
xor edi, edi
mov word [ebx + 0x28], ax
inc edi
lea eax, [esp + 0x2c]
push edi
push 1
push eax
push ebx
call fcn.0048d1e0
mov esi, eax
add esp, 0x10
cmp esi, 0xffffffff
je 0x4827e7
test esi, esi
jne 0x482c1e
mov edi, dword [ebx + 0x44]
mov dword [esp + 0x20], edi
push ebp
test edi, edi
jne 0x482965
mov ecx, dword [esp + 0x78]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x54], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x55], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x56], al
mov byte [esp + 0x57], cl
mov ecx, dword [ebx + 0x68]
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x58], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x59], al
mov eax, ecx
shr eax, 8
mov dword [esp + 0x4c], 0x82067f37
mov dword [esp + 0x50], 0x18e22d00
mov byte [esp + 0x5a], al
mov byte [esp + 0x5b], cl
test ecx, ecx
jne 0x48287f
lea eax, [ebx + 0x54]
push eax
push 8
call fcn.00418650
add esp, 8
mov eax, dword [ebx + 0x54]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x5c], eax
xor edx, edx
mov eax, dword [ebx + 0x58]
xor esi, esi
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
add eax, edx
add esi, eax
mov eax, dword [ecx + 4]
add eax, esi
add ecx, 8
add edx, eax
lea eax, [esp + 0x64]
cmp ecx, eax
jb 0x482895
mov ecx, esi
mov ebp, dword [esp + 0x78]
mov eax, ecx
mov dword [ebx + 0x50], edx
shr eax, 0x18
mov byte [esp + 0x64], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x65], al
mov eax, ecx
shr eax, 8
mov byte [esp + 0x66], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x68], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x69], al
mov eax, edx
shr eax, 8
mov dword [ebx + 0x4c], ecx
mov byte [esp + 0x6a], al
mov eax, dword [ebx + 8]
push 0
mov byte [esp + 0x6f], dl
lea edx, [esp + 0x50]
push 0
mov byte [esp + 0x6f], cl
mov dword [ebx + 0x24], ebp
mov byte [ebx + 0x41], 0
mov byte [ebx + 0x2f], 1
mov ecx, dword [eax]
push 0x20
push edx
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], esi
call eax
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x482c1d
cmp byte [ebx + 0x30], 0
mov eax, dword [esp + 0x88]
je 0x482970
test eax, eax
je 0x482970
mov ecx, dword [ebx + 8]
and eax, 0x13
push eax
push ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x482969
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004bf6e8
add esp, 0x60
ret
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x88]
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
mov dword [esp + 0x44], eax
lea eax, [ebp + 0x18]
mov dword [esp + 0x30], eax
cdq
mov dword [esp + 0x38], ecx
mov ecx, eax
mov eax, edx
mov dword [esp + 0x34], ebx
push eax
push ecx
push 0
push edi
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], eax
call fcn.004bfab0
mov ecx, dword [esp + 0x1c]
mov ebp, eax
add ebp, 0x20
mov dword [esp + 0x20], ecx
mov edi, edx
mov eax, ecx
adc edi, 0
test ecx, ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x18], edi
je 0x482a30
nop dword [eax]
inc dword [esp + 0x24]
test ecx, ecx
je 0x4829e7
cmp dword [eax + 0xc], 0
jne 0x4829e7
mov ecx, dword [esp + 0x80]
jmp 0x4829e9
xor ecx, ecx
push edi
push ebp
push ecx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.0048d4d0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x482c1d
mov eax, dword [esp + 0x20]
add ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
adc edi, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
test eax, eax
jne 0x4829d0
mov edx, dword [esp + 0x38]
jmp 0x482a33
mov edx, dword [ebx + 8]
test ecx, ecx
je 0x482b74
mov ecx, dword [esp + 0x88]
test cl, 0x20
je 0x482b1d
cmp byte [ebx + 0x31], 0
je 0x482b0c
mov ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x482a81
push ecx
call eax
add esp, 4
cmp eax, 0x20
jge 0x482a73
mov eax, 0x200
jmp 0x482a86
cmp eax, 0x10000
jle 0x482a86
mov eax, 0x10000
jmp 0x482a86
mov eax, 0x1000
cdq
mov ecx, eax
mov edi, edx
add ecx, ebp
push edx
adc edi, dword [esp + 0x1c]
sub ecx, 1
push eax
sbb edi, 0
mov dword [esp + 0x28], ecx
push edi
push ecx
call fcn.004bfaf0
mov ecx, dword [esp + 0x20]
sub ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
sbb edi, edx
mov dword [esp + 0x40], edi
cmp eax, edi
jg 0x482b1d
jl 0x482ac2
cmp ebp, ecx
jae 0x482b1d
mov edi, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x88]
lea eax, [esp + 0x40]
push edi
push eax
call fcn.0048d4d0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x482c1d
mov eax, dword [esp + 0x30]
cdq
add ebp, eax
mov eax, dword [esp + 0x18]
adc eax, edx
inc dword [esp + 0x10]
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x40]
jl 0x482ac6
jg 0x482b1d
cmp ebp, dword [esp + 0x3c]
jb 0x482ac6
jmp 0x482b1d
mov eax, dword [edx]
and ecx, 0x13
push ecx
push edx
mov eax, dword [eax + 0x14]
call eax
add esp, 8
mov esi, eax
cmp byte [ebx + 0x2f], 0
je 0x482b78
cmp dword [ebx + 0x14], 0
mov edi, dword [ebx + 0x10]
jl 0x482b78
jg 0x482b32
test edi, edi
jb 0x482b78
push dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push dword [esp + 0x18]
mov ebp, dword [esp + 0x18]
add eax, ebp
push 0
push eax
call fcn.004bfab0
mov ecx, dword [ebx + 0x14]
add eax, 0x20
adc edx, 0
cmp edx, ecx
jl 0x482b63
jg 0x482b5f
cmp eax, edi
jbe 0x482b63
mov edi, eax
mov ecx, edx
push ecx
push edi
push ebx
call fcn.0048cdb0
add esp, 0xc
mov byte [ebx + 0x2f], 0
jmp 0x482b7c
xor ebp, ebp
jmp 0x482b7c
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov edi, dword [ebx + 0x44]
test eax, eax
je 0x482bae
test esi, esi
jne 0x482c1d
push dword [eax + 0x14]
inc edi
push edi
push ebx
call fcn.0048c080
mov esi, eax
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x482b87
test esi, esi
jne 0x482c1d
test ebp, ebp
jle 0x482be2
mov eax, dword [esp + 0x28]
inc edi
dec ebp
push dword [eax + 0x14]
push edi
push ebx
call fcn.0048c080
mov esi, eax
add esp, 0xc
test esi, esi
je 0x482bb2
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.004bf6e8
add esp, 0x60
ret
mov ecx, dword [esp + 0x78]
mov eax, ecx
sar eax, 0x10
and ecx, 0xff00
or eax, ecx
mov dword [ebx + 0x44], edi
cmp dword [esp + 0x84], 0
mov word [ebx + 0x42], ax
je 0x482c1d
mov eax, dword [esp + 0x80]
inc dword [ebx + 0x3c]
push ebx
mov dword [ebx + 0x48], eax
call fcn.0048cac0
add esp, 4
mov dword [ebx + 0xc], edi
pop ebp
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bf6e8
add esp, 0x60
ret