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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx]
sub esp, 0xc
mov eax, dword [ecx + 4]
push ebx
push esi
push edi
cmp edx, eax
je 0x4877c8
mov ecx, dword [ebp + 8]
test ecx, ecx
js 0x4874eb
sub eax, edx
sar eax, 2
cmp ecx, eax
jge 0x4874eb
mov eax, dword [edx + ecx*4]
jmp 0x4874ed
xor eax, eax
mov esi, dword [eax + 0x78]
mov dword [ebp + 8], eax
test esi, esi
jne 0x4874fc
add eax, 0x10
jmp 0x487503
mov ecx, esi
call fcn.0042d950
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x487510
mov ecx, dword [ebx]
cmp dword [eax + 0x14], 0x10
mov edi, eax
jb 0x48751a
mov edi, dword [eax]
push dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00459b70
add esp, 8
test al, al
jne 0x4877c8
test esi, esi
jne 0x48753f
mov edi, dword [ebp + 8]
lea edx, [edi + 0x28]
jmp 0x48754b
mov ecx, esi
call fcn.0042d970
mov edi, dword [ebp + 8]
mov edx, eax
mov ecx, dword [ebx + 0x1c]
mov eax, dword [edx + 4]
sub ecx, dword [ebx + 0x18]
sub eax, dword [edx]
cmp eax, ecx
je 0x4877c8
test esi, esi
jne 0x487567
lea edx, [edi + 0x34]
jmp 0x487570
mov ecx, esi
call fcn.0042d990
mov edx, eax
mov ecx, dword [ebx + 0x28]
mov eax, dword [edx + 4]
sub ecx, dword [ebx + 0x24]
sub eax, dword [edx]
xor ecx, eax
test ecx, 0xfffffffe
je 0x4877c8
test esi, esi
jne 0x487592
lea edx, [edi + 0x40]
jmp 0x48759b
mov ecx, esi
call fcn.0042d9b0
mov edx, eax
mov ecx, dword [ebx + 0x40]
mov eax, dword [edx + 4]
sub ecx, dword [ebx + 0x3c]
sub eax, dword [edx]
xor ecx, eax
test ecx, 0xffffffe0
je 0x4877c8
test esi, esi
jne 0x4875bd
lea edx, [edi + 0x4c]
jmp 0x4875c6
mov ecx, esi
call fcn.0042d9d0
mov edx, eax
mov ecx, dword [ebx + 0x4c]
mov eax, dword [edx + 4]
sub ecx, dword [ebx + 0x48]
sub eax, dword [edx]
xor ecx, eax
test ecx, 0xffffffe0
je 0x4877c8
test esi, esi
jne 0x4875e8
lea eax, [edi + 0x28]
jmp 0x4875ef
mov ecx, esi
call fcn.0042d970
mov ecx, dword [eax]
xor edx, edx
mov edi, dword [eax + 4]
mov eax, ecx
mov dword [ebp - 4], ecx
sub edi, eax
je 0x48761f
nop
cmp edi, edx
jbe 0x4877d3
mov ecx, dword [ebx + 0x18]
mov al, byte [eax + edx]
cmp al, byte [edx + ecx]
jne 0x4877c8
mov eax, dword [ebp - 4]
inc edx
cmp edx, edi
jb 0x487600
test esi, esi
jne 0x48762b
mov eax, dword [ebp + 8]
add eax, 0x34
jmp 0x487632
mov ecx, esi
call fcn.0042d990
mov ecx, dword [eax]
xor edx, edx
mov edi, dword [eax + 4]
xor eax, eax
sub edi, ecx
mov dword [ebp - 8], ecx
test esi, esi
cmovne eax, esi
sar edi, 1
mov dword [ebp - 4], eax
je 0x487672
cmp edi, edx
jbe 0x4877d8
mov eax, dword [ebp - 8]
mov ecx, dword [ebx + 0x24]
mov ax, word [eax + edx*2]
cmp ax, word [ecx + edx*2]
jne 0x4877c8
inc edx
cmp edi, edx
ja 0x487654
mov eax, esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x48767e
mov ecx, dword [ebp + 8]
add ecx, 0x40
jmp 0x48768a
mov ecx, eax
call fcn.0042d9b0
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [ecx]
xor edi, edi
mov ecx, dword [ecx + 4]
sub ecx, edx
mov dword [ebp - 4], edx
sar ecx, 5
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x487724
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
lea esi, [eax + 0x18]
nop
cmp edi, 0x36
je 0x48770e
mov ecx, dword [ebx + 0x3c]
mov eax, dword [edx + eax]
add ecx, edx
cmp eax, dword [ecx]
jne 0x4877c8
test eax, eax
jne 0x4876d4
mov eax, dword [esi - 0x14]
cmp eax, dword [ecx + 4]
setne al
jmp 0x487700
cmp dword [ecx + 0x1c], 0x10
lea edx, [ecx + 8]
jb 0x4876e0
mov edx, dword [ecx + 8]
cmp dword [esi + 4], 0x10
lea eax, [esi - 0x10]
jb 0x4876eb
mov eax, dword [eax]
push dword [ecx + 0x18]
mov ecx, eax
push edx
mov edx, dword [esi]
call fcn.00459b70
mov edx, dword [ebp - 8]
add esp, 8
xor al, 1
test al, al
jne 0x4877c8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
inc edi
add edx, 0x20
add esi, 0x20
mov dword [ebp - 8], edx
cmp edi, ecx
jb 0x4876b0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
jmp 0x487727
mov ecx, dword [ebp + 8]
test eax, eax
jne 0x487730
lea eax, [ecx + 0x4c]
jmp 0x487737
mov ecx, eax
call fcn.0042d9d0
mov edx, dword [eax + 4]
xor ecx, ecx
mov ebx, dword [eax]
sub edx, ebx
sar edx, 5
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
test edx, edx
je 0x4877bc
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 0x18]
mov eax, dword [eax + 0x48]
lea esi, [eax + 0x18]
sub eax, ebx
mov dword [ebp + 0xc], eax
nop
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx]
cmp eax, dword [ecx + ebx]
mov ecx, dword [ebp - 4]
jne 0x4877c8
test eax, eax
jne 0x48777c
mov eax, dword [edi - 0x14]
cmp eax, dword [esi - 0x14]
setne al
jmp 0x4877a7
cmp dword [esi + 4], 0x10
lea eax, [esi - 0x10]
jb 0x487787
mov eax, dword [eax]
cmp dword [edi + 4], 0x10
lea ecx, [edi - 0x10]
jb 0x487792
mov ecx, dword [ecx]
push dword [esi]
mov edx, dword [edi]
push eax
call fcn.00459b70
mov ecx, dword [ebp - 4]
add esp, 8
mov edx, dword [ebp - 0xc]
xor al, 1
test al, al
jne 0x4877c8
inc ecx
add esi, 0x20
add ebx, 0x20
mov dword [ebp - 4], ecx
add edi, 0x20
cmp ecx, edx
jb 0x487760
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00473110
call fcn.00473110
int3