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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov esi, edx
mov ebx, ecx
xor edi, edi
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], edi
call fcn.004a5717
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebx + 0x28], eax
test ecx, ecx
je 0x487303
test dword [esi + 4], 0x1000
je 0x487303
mov eax, dword [esi + 0x14]
mov esi, edi
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x40], eax
cmp dword [eax], esi
jle 0x4872f9
mov edi, eax
lea ebx, [edi + 8]
mov ecx, dword [ebx]
call fcn.00487111
test eax, eax
jne 0x4872ee
inc esi
add ebx, 0x14
cmp esi, dword [edi]
jl 0x4872db
mov ebx, dword [ebp - 0x24]
xor edi, edi
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp esi, dword [eax]
cmove ecx, edx
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 8]
cmp dword [ebx + 0x24], edi
jne 0x487726
test dword [ecx + 4], 0x1000
je 0x487726
test byte [ecx + 4], 0x40
jne 0x487726
mov eax, dword [ecx + 0x14]
cmp dword [eax + 0x34], edi
jne 0x487726
test byte [eax + 4], 9
jne 0x487726
cmp dword [eax + 0x3c], edi
jne 0x487726
cmp dword [eax + 0x24], edi
jne 0x487726
mov edx, dword [eax + 0x20]
cmp dword [edx], 1
jne 0x487726
cmp dword [edx + 0x1c], edi
jne 0x487726
mov edx, dword [edx + 0x18]
mov dword [ebp - 0x1c], edx
cmp byte [edx + 0x2b], 1
je 0x487726
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edi
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
test esi, esi
jle 0x4873a7
add eax, 8
mov dword [ebp - 0x40], eax
mov eax, dword [eax]
cmp byte [eax], 0xa7
jne 0x487726
mov eax, dword [ebp - 0x40]
inc dword [ebp - 0x28]
add eax, 0x14
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x28], esi
jl 0x48738b
mov edx, dword [edx + 0x3c]
mov ecx, dword [ebx]
call fcn.004a2c91
cmp dword [ebx + 0x78], 0
mov ecx, ebx
mov edx, eax
mov dword [ebp - 0x40], eax
cmovne ecx, dword [ebx + 0x78]
call fcn.0049552b
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
mov edx, dword [ebp - 0x40]
push dword [eax]
push edi
push dword [eax + 0x14]
call fcn.0048fe11
mov edx, dword [ebp - 0x2c]
add esp, 0xc
cmp esi, 1
jne 0x487443
mov eax, dword [edx + 8]
cmp word [eax + 0x20], di
jge 0x487443
mov ecx, dword [ebp - 0x18]
push edi
push edi
push edi
push 0xf
pop edx
call fcn.004746eb
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, ebx
mov esi, eax
push 0x70
push dword [ebp - 0x1c]
push dword [ebp - 0x40]
call fcn.0049af56
xor eax, eax
add esp, 0xc
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
push dword [eax]
push 0x42eef8
push edi
push ebx
call fcn.00474928
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov edx, esi
call fcn.00474f68
mov ecx, dword [ecx + 0x6c]
mov dword [eax + 8], ecx
jmp 0x4877ba
xor eax, eax
mov ecx, edi
inc eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x28], eax
test esi, esi
jle 0x4874c6
add edx, 8
mov dword [ebp - 0x20], edx
test eax, eax
je 0x487723
mov eax, dword [ebp - 8]
mov edx, ecx
mov ecx, dword [eax + 0xc]
call fcn.00485566
mov ecx, dword [ebp - 0x1c]
mov esi, eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
movsx edx, word [eax + 0x20]
call fcn.00485055
mov dl, al
mov byte [ebp - 1], al
mov ecx, esi
call fcn.004853e7
movsx eax, al
sub eax, 0x41
je 0x4874a7
sub eax, 1
je 0x4874a7
xor eax, eax
cmp byte [ebp - 1], 0x43
setge al
mov dword [ebp - 0x28], eax
jmp 0x4874aa
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x3c]
add dword [ebp - 0x20], 0x14
inc ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], ecx
cmp ecx, edx
jl 0x487458
test eax, eax
je 0x487723
jmp 0x4874c8
mov edx, esi
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 8]
mov dword [ebp - 0x28], esi
test esi, esi
je 0x487723
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4877bd
movzx ecx, word [esi + 0x34]
mov ebx, ecx
mov dword [ebp - 0x44], ebx
cmp ebx, edx
mov ebx, dword [ebp - 0x24]
jl 0x48770d
cmp dword [esi + 0x24], edi
jne 0x48770d
cmp ecx, 0x3f
jae 0x48770d
test byte [ebp + 8], 4
je 0x48752a
movzx eax, word [esi + 0x32]
cmp eax, edx
jg 0x48770a
cmp ecx, edx
jle 0x48752a
cmp byte [esi + 0x36], 0
je 0x48770a
xorps xmm0, xmm0
mov eax, edi
movlpd qword [ebp - 0x50], xmm0
mov dword [ebp - 0x38], eax
test edx, edx
jle 0x487641
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x4c]
add esi, 8
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x1c], ecx
jmp 0x487559
mov esi, dword [ebp - 0x3c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
call fcn.00485566
mov esi, dword [esi]
mov edx, eax
push esi
mov ecx, ebx
call fcn.0048547c
mov edx, eax
mov ebx, edi
movzx eax, word [esi + 0x20]
mov esi, dword [ebp - 0x28]
pop ecx
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ecx
cmp word [ecx], di
jne 0x4875b9
test edx, edx
je 0x4875c7
mov edx, dword [esi + 0x20]
mov ecx, dword [ebp - 0x30]
mov edx, dword [edx + ebx*4]
mov ecx, dword [ecx]
call fcn.0045c824
test eax, eax
je 0x4875c7
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x30]
inc ebx
add ecx, 2
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x44], ecx
cmp ebx, eax
jl 0x487593
mov edx, dword [ebp - 0x14]
cmp ebx, edx
mov ebx, dword [ebp - 0x24]
push 0
pop edi
je 0x48764d
mov eax, dword [ebp - 0x34]
xor ecx, ecx
add eax, edi
xor esi, esi
bts ecx, eax
cmp eax, 0x20
cmovae esi, ecx
xor ecx, esi
mov dword [ebp - 0x30], esi
cmp eax, 0x40
mov dword [ebp - 0x4c], ecx
mov eax, esi
mov esi, dword [ebp - 0x28]
cmovae eax, ecx
and ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
and eax, dword [ebp - 0x20]
or ecx, eax
jne 0x48764d
mov eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x10], edi
je 0x48762c
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
mov dword [esi + ecx*4], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x3c], 0x14
inc eax
mov dword [ebp - 0x38], eax
cmp eax, edx
jl 0x487556
jmp 0x48764d
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
xor ecx, ecx
lea eax, [edi + edx]
bts ecx, eax
xor ebx, ebx
cmp eax, 0x20
cmovae ebx, ecx
xor ecx, ebx
mov dword [ebp - 0x4c], ebx
cmp eax, 0x40
mov eax, ebx
mov ebx, dword [ebp - 0x24]
cmovae eax, ecx
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp dword [ebp - 0x1c], ecx
jne 0x48770a
cmp dword [ebp - 0x20], eax
jne 0x48770a
mov ecx, dword [ebp - 0x18]
push edi
push edi
push edi
push 0xf
pop edx
call fcn.004746eb
add esp, 0xc
mov dword [ebp - 0x4c], eax
push dword [esi]
push 0x42ef28
push edi
push ebx
call fcn.00474928
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
push dword [esi + 0x2c]
push dword [ebp - 0x10]
push 0x70
pop edx
call fcn.004746eb
add esp, 0x1c
mov edx, esi
mov ecx, ebx
call fcn.00474f4d
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp + 0xc]
movzx eax, byte [eax]
add eax, 3
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x4876f6
mov eax, dword [ebx + 0x2c]
inc eax
cmp dword [ebp - 0x14], 1
mov dword [ebx + 0x2c], eax
mov dword [ecx], eax
jne 0x4876f6
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.0048722e
pop ecx
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x18]
call fcn.00474f68
mov ecx, dword [ecx + 0x6c]
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0xc]
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x28], esi
test esi, esi
jne 0x4874dc
test eax, eax
jne 0x4877bd
mov ecx, dword [ebp - 8]
test byte [ebp + 8], 1
je 0x487765
test dword [ecx + 4], 0x1000
jne 0x487765
mov esi, dword [ecx + 0xc]
xor edx, edx
push edi
inc edx
mov dword [ecx + 0xc], edi
call fcn.00486edc
pop ecx
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], esi
test eax, eax
je 0x487757
mov eax, dword [ecx + 0x14]
cmp dword [eax], 2
jg 0x487765
dec dword [ebx + 0x28]
or edx, 0xffffffff
push 5
pop eax
mov dword [ebp - 0xc], eax
jmp 0x4877c3
test byte [ebp + 8], 4
mov esi, edi
mov eax, dword [ebx + 0x8c]
push 2
mov dword [ebp - 0x4c], eax
pop eax
mov dword [ebp - 0xc], eax
je 0x487784
mov dword [ebx + 0x8c], edi
jmp 0x487793
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x487793
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 0x2c]
mov dword [eax], esi
push dword [ebp - 0x10]
mov edx, ecx
mov ecx, ebx
call fcn.004878e5
pop ecx
test esi, esi
je 0x4877b1
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.0048722e
pop ecx
mov eax, dword [ebp - 0x4c]
mov dword [ebx + 0x8c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x4877e8
cmp eax, 3
je 0x4877e8
cmp eax, 4
je 0x4877e8
mov ecx, dword [ecx + 0xc]
call fcn.00485543
test eax, eax
jle 0x4877e8
mov dword [ebx + edi*4], edi
inc edi
cmp edi, eax
jl 0x4877e0
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
mov dword [ecx], edx
pop ebx
leave
ret