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

Disassembly:
sub esp, 0x64
mov ecx, dword [esp + 0x68]
push ebx
push ebp
push esi
mov eax, dword [ecx]
mov esi, dword [ecx + 0xb8]
mov dword [esp + 0x28], eax
push edi
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x48c5b1
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x84]
push eax
push ecx
call fcn.0045f8c0
add esp, 0x10
test eax, eax
jne 0x48ca67
mov ecx, dword [esp + 0x14]
push eax
lea edx, [esp + 0x48]
push 9
lea eax, [esp + 0x64]
push edx
mov dword [esi], ecx
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [eax + 0xe8]
add esp, 0x14
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x48ca12
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov esi, dword [eax + 0xb8]
push 0
push 0
mov edx, dword [ecx]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x40], edx
push eax
mov edx, dword [ecx]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x98]
mov edi, dword [ecx]
mov dword [esp + 0x24], esi
mov ecx, dword [edx]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], ecx
mov cx, word [esi + 0x10]
mov dword [esp + 0x30], 1
mov word [esp + 0x2c], cx
call fcn.0048d810
add esp, 0xc
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x48c927
mov edx, dword [esp + 0x2c]
mov bx, word [esi + 0x10]
mov ebp, dword [esi + 4]
mov dword [esp + 0x20], ebx
mov eax, dword [edx + 0x250]
test ah, 4
je 0x48c639
mov eax, 0x26
jmp 0x48c642
and al, 1
neg al
sbb eax, eax
and eax, 6
lea eax, [eax + ebp + 0x1a]
mov dword [esp + 0x28], 1
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x250]
mov edx, esi
and edx, 0x400
je 0x48c66d
mov ecx, 0x26
jmp 0x48c67a
mov eax, esi
and al, 1
neg al
sbb eax, eax
and eax, 6
mov ecx, eax
mov eax, ebx
xor ebx, ebx
and eax, 0xffff
cmp byte [ebp + 0x19], 5
mov dword [esp + 0x3c], eax
sete bl
add ebx, eax
lea ecx, [ecx + ebx*2 + 0x1a]
xor ebx, ebx
mov bx, word [ecx + ebp]
test byte [ebx + ebp + 2], 0x80
jne 0x48c863
test edx, edx
je 0x48c6b0
mov ecx, 0x26
jmp 0x48c6be
mov edx, esi
and dl, 1
neg dl
sbb edx, edx
and edx, 6
mov ecx, edx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
lea ecx, [ecx + eax*2 + 0x1a]
xor ebx, ebx
sub esi, 8
mov bx, word [ecx + ebp]
mov dword [esp + 0x10], esi
add ebx, ebp
test edx, edx
jne 0x48c6ef
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x48c6ef
sub esi, 8
mov dword [esp + 0x10], esi
mov ecx, dword [esp + 0x90]
cmp esi, dword [ecx]
ja 0x48c890
mov dl, byte [ebx + 2]
and dl, 0x7f
cmp dl, 3
jne 0x48c78e
mov esi, dword [ebx + 8]
mov eax, dword [esp + 0x10]
cmp esi, eax
ja 0x48c8c1
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x48c73e
mov eax, dword [esp + 0x84]
test eax, eax
je 0x48c73e
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax - 4]
sub edi, 4
mov dword [edi], edx
sub edi, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
push eax
mov eax, dword [esp + 0x7c]
push ecx
push edx
push eax
call fcn.0048c4f0
add esp, 0x10
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x48ca67
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x80]
sub eax, esi
sub edi, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
sub ecx, ebx
add eax, esi
mov dword [edi + 4], ecx
mov dword [esp + 0x1c], eax
jmp 0x48c83d
mov edx, dword [esp + 0x28]
test edx, edx
je 0x48c7ed
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edx
xor edx, edx
mov dx, word [ebp + 0x16]
sub eax, edx
cmp esi, eax
jb 0x48c8da
mov edi, dword [esp + 0x1c]
mov ecx, eax
lea esi, [edx + ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x10]
and ecx, 3
sub edx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
add ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
test ecx, ecx
jne 0x48c80f
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x48c80f
mov edx, dword [ecx]
mov dword [edi], edx
mov ecx, dword [ecx - 4]
sub edi, 4
mov dword [edi], ecx
sub edi, 4
mov ecx, dword [esp + 0x40]
xor edx, edx
xor esi, esi
mov dx, word [ecx + eax*2]
mov ecx, dword [esp + 0x80]
xor eax, eax
mov si, word [ebx]
mov ax, word [ebp + 0x16]
sub edx, eax
sub edx, ecx
mov ecx, dword [esp + 0x30]
sub edi, 4
lea edx, [edx + ecx + 3]
mov dword [edi + 4], edx
mov eax, dword [esp + 0x94]
mov dword [edi], esi
mov esi, dword [esp + 0x18]
sub edi, 4
test eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], 0
jne 0x48c927
jmp 0x48c867
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
inc ebx
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x20], ebx
cmp ecx, 3
jne 0x48c885
inc dword [esi + 0xc4]
cmp bx, word [ebp + 0x14]
jae 0x48c8ee
jmp 0x48c652
cmp edx, 1
mov dword [esp + 0x7c], 0xffff86e9
jne 0x48c8ea
mov ecx, dword [ecx]
mov eax, dword [esp + 0x28]
sub ecx, esi
test eax, eax
mov dword [esp + 0x10], ecx
je 0x48c8ea
mov eax, dword [esp + 0x38]
xor edx, edx
mov dx, word [ebp + 0x16]
sub eax, edx
add ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x48c8ea
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x7c], 0xffff86e9
mov eax, dword [ecx]
add eax, esi
mov dword [esp + 0x10], eax
jmp 0x48c8ea
mov edx, dword [ecx]
mov dword [esp + 0x7c], 0xffff86e9
add edx, eax
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x48c927
mov eax, dword [esp + 0x7c]
mov dx, word [esp + 0x20]
test eax, eax
mov word [esi + 0x10], dx
jne 0x48c927
mov eax, dword [esp + 0x14]
push 0
push 0
push eax
call fcn.0048d810
add esp, 0xc
mov dword [esp + 0x7c], eax
test eax, eax
je 0x48c618
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x88]
mov dword [edx], ecx
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edi
mov eax, dword [esp + 0x7c]
mov dword [edx], ecx
cmp eax, 0xffff86e9
jne 0x48c9ba
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xb4], 3
jne 0x48c981
mov eax, dword [esi + 0xc4]
dec eax
mov dword [esi + 0xc4], eax
je 0x48ca24
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp word [esp + 0x20], 0
je 0x48c999
dec word [esi + 0x10]
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push eax
call fcn.0048da90
add esp, 4
cmp eax, 0xffff86f3
je 0x48ca24
test eax, eax
je 0x48ca63
mov dword [esp + 0x7c], eax
jmp 0x48ca51
mov ecx, dword [esp + 0x84]
test ecx, ecx
jne 0x48c9fe
cmp eax, 0xffff86f3
jne 0x48c9fe
dec word [esi + 0x10]
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xb4], 3
jne 0x48ca5b
mov eax, dword [esi + 0xc4]
pop edi
dec eax
mov dword [esp + 0x78], 0
mov dword [esi + 0xc4], eax
mov eax, dword [esp + 0x78]
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
cmp word [esp + 0x20], 0
je 0x48ca12
cmp dword [esp + 0x7c], 0xffff86f3
jne 0x48ca63
jmp 0x48ca1c
cmp dword [esp + 0x7c], 0xffff86f3
jne 0x48ca24
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045f1b0
add esp, 4
test eax, eax
je 0x48ca41
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x48ca41
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x78]
mov eax, dword [edx + 0xb8]
mov dword [eax], 0
cmp dword [esp + 0x7c], 0xffff86f3
jne 0x48ca63
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret