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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5326fd
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x566090]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 0x10], 4
jne 0x4c18c1
cmp dword [ebp + 0x1c], 1
jne 0x4c18c1
push dword [ebx + 0x4c8]
lea ecx, [ebx + 0x10]
mov dword [ebp - 0x14], ecx
call fcn.004d43d0
test al, al
je 0x4c18a8
push dword [ebx + 0x4cc]
lea ecx, [ebx + 0x30]
call fcn.004d43d0
test al, al
je 0x4c18a8
push dword [ebx + 0x4d0]
lea ecx, [ebx + 0x50]
call fcn.004d43d0
test al, al
je 0x4c18a8
push dword [ebx + 0x4d4]
lea eax, [ebx + 0x70]
mov ecx, eax
mov dword [ebp + 0x10], eax
call fcn.004d43d0
test al, al
je 0x4c18a8
push dword [ebx + 0x4d8]
lea esi, [ebx + 0x4a0]
mov ecx, esi
mov dword [ebp - 0x28], esi
call fcn.004bf6c0
test al, al
je 0x4c18a8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebx]
test edi, edi
je 0x4c0d68
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4c0d7b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x1c], edi
mov edi, dword [ebx + 4]
test edi, edi
je 0x4c0d8e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
je 0x4c0d9e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x3c], edi
mov edi, dword [ebx + 8]
test edi, edi
je 0x4c0db1
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
je 0x4c0dc1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], edi
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x4c0dd1
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x7c]
test ecx, ecx
je 0x4c0de1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x7c], edi
mov edi, dword [eax]
test edi, edi
je 0x4c0df3
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [ebx + 0x4b4]
test ecx, ecx
je 0x4c0e03
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x4b4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov byte [ebx + 0x4c], 0
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x64], 0
mov byte [ebx + 0x6c], 0
mov ebx, dword [ebp + 0x10]
mov dword [ebp + 0x1c], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x1c], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x20], 0xffffffff
nop dword [eax]
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jb 0x4c0ef3
cmp byte [ebx + 0x1c], 0
jne 0x4c0ee3
mov edi, dword [ebx + 8]
sub eax, edi
mov ecx, dword [ebx + 0xc]
cdq
add dword [ebx + 0x10], eax
adc dword [ebx + 0x14], edx
lea edx, [ebp + 8]
mov eax, dword [ecx]
push edx
push dword [ebx + 0x18]
push edi
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4c18da
mov ecx, dword [ebp + 8]
test ecx, ecx
mov edx, dword [ebx + 8]
mov dword [ebx], edx
lea eax, [edx + ecx]
mov dword [ebx + 4], eax
sete al
mov byte [ebx + 0x1c], al
test ecx, ecx
je 0x4c0ee3
mov bl, byte [edx]
lea eax, [edx + 1]
jmp 0x4c0ef6
add dword [ebx + 0x10], 1
mov ecx, dword [ebp + 0x10]
adc dword [ebx + 0x14], 0
or bl, 0xff
jmp 0x4c0efb
mov bl, byte [eax]
inc eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov ecx, dword [ecx + 0x24]
shl ecx, 8
movzx eax, bl
mov ebx, dword [ebp + 0x10]
or ecx, eax
mov dword [ebx + 0x24], ecx
mov ecx, dword [ebp + 0x1c]
inc ecx
mov dword [ebp + 0x1c], ecx
cmp ecx, 5
jl 0x4c0e90
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x4b0]
lea edi, [ecx + 0x98]
mov dword [ecx + 0x4a8], eax
mov eax, 0x400
mov dword [ecx + 0x4ac], 0
mov dword [ecx + 0x4a4], 0
mov dword [ecx + 0x4b8], 0
mov dword [ecx + 0x4bc], 0
mov byte [ecx + 0x4c4], 0
mov ecx, 0x102
rep stosd dword es:[edi], eax
xor al, al
xor ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0x1c], eax
cmp ecx, 0x100000
jb 0x4c0fab
mov ebx, dword [ebp + 0x20]
test ebx, ebx
je 0x4c0fab
mov ecx, esi
call fcn.004bf740
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
push ecx
push 0
push ebx
mov dword [ebp - 0x3c], edx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jne 0x4c1809
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], 0
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebx]
cmp edx, dword [ebx + 4]
jb 0x4c100b
cmp byte [ebx + 0x1c], 0
jne 0x4c174e
mov edi, dword [ebx + 8]
sub edx, edi
mov ecx, dword [ebx + 0xc]
mov eax, edx
cdq
add dword [ebx + 0x10], eax
adc dword [ebx + 0x14], edx
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
push dword [ebx + 0x18]
push edi
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4c18f0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov edx, dword [ebx + 8]
mov dword [ebx], edx
lea eax, [edx + ecx]
mov dword [ebx + 4], eax
sete al
mov byte [ebx + 0x1c], al
test ecx, ecx
je 0x4c174e
mov ecx, dword [ebp - 0x14]
lea eax, [edx + 1]
mov bh, byte [edx]
mov byte [ebp + 0x13], bh
mov dword [ecx], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov byte [ecx + eax], bh
inc dword [esi + 4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x4c10f3
mov edx, dword [esi + 0xc]
cmp edx, ecx
je 0x4c10f3
mov edi, dword [esi + 0x10]
nop dword [eax]
mov eax, ecx
mov dword [ebp - 0x20], 0
sub eax, edx
sub edi, edx
cmp edx, ecx
mov ecx, dword [esi + 0x20]
cmovb edi, eax
test ecx, ecx
je 0x4c106e
mov eax, dword [esi]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 0x20], edi
mov ebx, dword [esi + 0x14]
mov eax, edi
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x4c10a0
mov dword [ebp - 0x18], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, edx
lea edx, [ebp - 0x18]
push edx
push edi
push eax
push ebx
call ecx
mov edx, dword [esi + 0xc]
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
jmp 0x4c10a3
mov ebx, dword [ebp - 0x20]
mov edi, dword [esi + 0x10]
add edx, eax
mov dword [esi + 0xc], edx
cmp edx, edi
jne 0x4c10b8
mov dword [esi + 0xc], 0
xor edx, edx
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4c10cc
mov byte [esi + 0x24], 1
xor ecx, ecx
mov dword [esi + 4], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x18]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], 0
test ebx, ebx
jne 0x4c1906
cmp edx, ecx
jne 0x4c1040
mov bh, byte [ebp + 0x13]
mov edx, dword [ebp + 0x1c]
mov al, bh
and al, 0xfe
cmp al, 0xe8
je 0x4c1124
cmp dl, 0xf
jne 0x4c110b
mov al, bh
and al, 0xf0
cmp al, 0x80
je 0x4c1124
mov eax, dword [ebp + 0x14]
mov dl, bh
inc eax
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x14], eax
cmp eax, 0x40000
jb 0x4c0fb2
jmp 0x4c1127
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
add ecx, eax
mov dword [ebp + 8], ecx
cmp eax, 0x40000
je 0x4c0f76
cmp bh, 0xe8
jne 0x4c1144
movzx eax, dl
jmp 0x4c1151
xor eax, eax
cmp bh, 0xe9
setne al
add eax, 0x100
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x90]
lea edx, [edi + eax*4]
mov edi, dword [edi + 0x94]
mov eax, ecx
shr eax, 0xb
imul eax, dword [edx + 0x98]
cmp edi, eax
jae 0x4c126a
mov edi, dword [ebp - 0x10]
mov ecx, 0x800
mov dword [edi + 0x90], eax
mov eax, dword [edx + 0x98]
sub ecx, eax
shr ecx, 5
add ecx, eax
mov dword [edx + 0x98], ecx
mov edx, dword [edi + 0x90]
cmp edx, 0x1000000
jae 0x4c1260
mov eax, dword [edi + 0x70]
cmp eax, dword [edi + 0x74]
jb 0x4c123d
cmp byte [edi + 0x8c], 0
jne 0x4c1224
mov edi, dword [edi + 0x78]
sub eax, edi
mov ecx, dword [ebp - 0x10]
cdq
add dword [ecx + 0x80], eax
adc dword [ecx + 0x84], edx
lea edx, [ebp - 0x24]
mov ecx, dword [ecx + 0x7c]
push edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [edx + 0x88]
push edi
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4c191c
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
mov edx, dword [edi + 0x78]
mov dword [edi + 0x70], edx
lea eax, [edx + ecx]
mov dword [edi + 0x74], eax
sete al
mov byte [edi + 0x8c], al
test ecx, ecx
je 0x4c1224
mov bl, byte [edx]
lea eax, [edx + 1]
mov dword [edi + 0x70], eax
mov edx, dword [edi + 0x90]
jmp 0x4c1243
add dword [edi + 0x80], 1
adc dword [edi + 0x84], 0
or bl, 0xff
mov edx, dword [edi + 0x90]
jmp 0x4c1243
mov bl, byte [eax]
inc eax
mov dword [edi + 0x70], eax
mov ecx, dword [edi + 0x94]
shl ecx, 8
movzx eax, bl
or ecx, eax
shl edx, 8
mov dword [edi + 0x94], ecx
mov dword [edi + 0x90], edx
mov ecx, dword [ebp + 8]
mov al, bh
jmp 0x4c0f73
mov esi, dword [ebp - 0x10]
sub ecx, eax
sub edi, eax
mov eax, esi
mov dword [esi + 0x90], ecx
mov dword [eax + 0x94], edi
mov ecx, dword [edx + 0x98]
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [edx + 0x98], ecx
mov ecx, esi
mov esi, dword [ebp - 0x28]
mov edx, dword [ecx + 0x90]
cmp edx, 0x1000000
jae 0x4c1363
mov eax, dword [ecx + 0x70]
cmp eax, dword [ecx + 0x74]
jb 0x4c133b
cmp byte [ecx + 0x8c], 0
jne 0x4c1322
mov edi, dword [ecx + 0x78]
sub eax, edi
cdq
add dword [ecx + 0x80], eax
adc dword [ecx + 0x84], edx
lea edx, [ebp - 0x2c]
mov ecx, dword [ecx + 0x7c]
push edx
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx]
push dword [edx + 0x88]
push edi
push ecx
call dword [eax + 0xc]
test eax, eax
jne 0x4c18da
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov edx, dword [edi + 0x78]
mov dword [edi + 0x70], edx
lea eax, [edx + ecx]
mov dword [edi + 0x74], eax
sete al
test ecx, ecx
mov byte [edi + 0x8c], al
mov ecx, edi
je 0x4c1322
mov bl, byte [edx]
lea eax, [edx + 1]
mov dword [edi + 0x70], eax
mov edx, dword [ecx + 0x90]
jmp 0x4c1341
add dword [ecx + 0x80], 1
adc dword [ecx + 0x84], 0
or bl, 0xff
mov edx, dword [ecx + 0x90]
jmp 0x4c1341
mov bl, byte [eax]
inc eax
mov dword [ecx + 0x70], eax
mov ecx, dword [ecx + 0x94]
shl ecx, 8
movzx eax, bl
or ecx, eax
mov eax, dword [ebp - 0x10]
shl edx, 8
mov dword [eax + 0x94], ecx
mov ecx, eax
mov dword [ecx + 0x90], edx
xor eax, eax
mov edi, 0x30
cmp bh, 0xe8
mov dword [ebp + 0x1c], eax
mov eax, 0x50
cmovne edi, eax
add edi, ecx
xor ebx, ebx
mov edx, dword [edi]
nop
cmp edx, dword [edi + 4]
jb 0x4c1394
mov ecx, edi
call fcn.004d4450
test al, al
je 0x4c1804
mov eax, dword [edi]
inc ebx
mov cl, byte [eax]
lea edx, [eax + 1]
mov eax, dword [ebp + 0x1c]
shl eax, 8
mov dword [ebp + 0x1c], eax
movzx eax, cl
or dword [ebp + 0x1c], eax
mov dword [edi], edx
cmp ebx, 4
jl 0x4c1380
mov ecx, esi
call fcn.004bf740
mov edx, dword [ebp + 0x1c]
mov ecx, dword [esi + 4]
sub edx, eax
mov eax, dword [esi]
sub edx, 4
mov dword [ebp + 0x1c], edx
mov byte [ecx + eax], dl
mov ecx, dword [esi + 4]
inc ecx
mov ebx, ecx
mov dword [esi + 4], ecx
cmp ecx, dword [esi + 8]
jne 0x4c14a6
mov edx, dword [esi + 0xc]
cmp edx, ecx
je 0x4c14a3
mov edi, dword [esi + 0x10]
nop dword [eax]
mov eax, ecx
mov dword [ebp + 0x14], 0
sub eax, edx
sub edi, edx
cmp edx, ecx
mov ecx, dword [esi + 0x20]
cmovb edi, eax
test ecx, ecx
je 0x4c141e
mov eax, dword [esi]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 0x20], edi
mov ebx, dword [esi + 0x14]
mov eax, edi
mov dword [ebp + 0x10], eax
test ebx, ebx
je 0x4c144f
mov dword [ebp + 0x10], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push edi
push eax
push ebx
call ecx
mov edx, dword [esi + 0xc]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov edi, dword [esi + 0x10]
add edx, eax
mov dword [esi + 0xc], edx
cmp edx, edi
jne 0x4c1464
mov dword [esi + 0xc], 0
xor edx, edx
mov ebx, dword [esi + 4]
mov ecx, ebx
cmp ebx, edi
jne 0x4c147c
xor ecx, ecx
mov byte [esi + 0x24], 1
mov dword [esi + 4], 0
xor ebx, ebx
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
adc dword [esi + 0x1c], 0
test eax, eax
jne 0x4c1893
cmp edx, ecx
jne 0x4c13f0
mov edx, dword [ebp + 0x1c]
mov eax, dword [esi]
mov ecx, edx
shr ecx, 8
mov byte [ebx + eax], cl
mov ecx, dword [esi + 4]
inc ecx
mov ebx, ecx
mov dword [esi + 4], ecx
cmp ecx, dword [esi + 8]
jne 0x4c1586
mov edx, dword [esi + 0xc]
cmp edx, ecx
je 0x4c1583
mov edi, dword [esi + 0x10]
mov eax, ecx
mov dword [ebp + 0x14], 0
sub eax, edx
sub edi, edx
cmp edx, ecx
mov ecx, dword [esi + 0x20]
cmovb edi, eax
test ecx, ecx
je 0x4c14fe
mov eax, dword [esi]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 0x20], edi
mov ebx, dword [esi + 0x14]
mov eax, edi
mov dword [ebp + 0x10], eax
test ebx, ebx
je 0x4c152f
mov dword [ebp + 0x10], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push edi
push eax
push ebx
call ecx
mov edx, dword [esi + 0xc]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov edi, dword [esi + 0x10]
add edx, eax
mov dword [esi + 0xc], edx
cmp edx, edi
jne 0x4c1544
mov dword [esi + 0xc], 0
xor edx, edx
mov ebx, dword [esi + 4]
mov ecx, ebx
cmp ecx, edi
jne 0x4c155c
xor ecx, ecx
mov byte [esi + 0x24], 1
mov dword [esi + 4], 0
xor ebx, ebx
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
adc dword [esi + 0x1c], 0
test eax, eax
jne 0x4c1893
cmp edx, ecx
jne 0x4c14d0
mov edx, dword [ebp + 0x1c]
mov eax, dword [esi]
mov ecx, edx
shr ecx, 0x10
mov byte [ebx + eax], cl
mov ecx, dword [esi + 4]
inc ecx
mov ebx, ecx
mov dword [esi + 4], ecx
cmp ecx, dword [esi + 8]
jne 0x4c1666
mov edx, dword [esi + 0xc]
cmp edx, ecx
je 0x4c1663
mov edi, dword [esi + 0x10]
mov eax, ecx
mov dword [ebp + 0x14], 0
sub eax, edx
sub edi, edx
cmp edx, ecx
mov ecx, dword [esi + 0x20]
cmovb edi, eax
test ecx, ecx
je 0x4c15de
mov eax, dword [esi]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 0x20], edi
mov ebx, dword [esi + 0x14]
mov eax, edi
mov dword [ebp + 0x10], eax
test ebx, ebx
je 0x4c160f
mov dword [ebp + 0x10], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push edi
push eax
push ebx
call ecx
mov edx, dword [esi + 0xc]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
mov edi, dword [esi + 0x10]
add edx, eax
mov dword [esi + 0xc], edx
cmp edx, edi
jne 0x4c1624
mov dword [esi + 0xc], 0
xor edx, edx
mov ebx, dword [esi + 4]
mov ecx, ebx
cmp ebx, edi
jne 0x4c163c
xor ecx, ecx
mov byte [esi + 0x24], 1
mov dword [esi + 4], 0
xor ebx, ebx
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
adc dword [esi + 0x1c], 0
test eax, eax
jne 0x4c1893
cmp edx, ecx
jne 0x4c15b0
mov edx, dword [ebp + 0x1c]
mov eax, dword [esi]
shr edx, 0x18
mov dword [ebp + 0x1c], edx
mov byte [ebx + eax], dl
inc dword [esi + 4]
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
jne 0x4c1740
mov edx, dword [esi + 0xc]
cmp edx, ecx
je 0x4c1740
mov edi, dword [esi + 0x10]
nop
mov eax, ecx
mov dword [ebp + 0x14], 0
sub eax, edx
sub edi, edx
cmp edx, ecx
mov ecx, dword [esi + 0x20]
cmovb edi, eax
test ecx, ecx
je 0x4c16be
mov eax, dword [esi]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 0x20], edi
mov ebx, dword [esi + 0x14]
mov eax, edi
mov dword [ebp + 0x10], eax
test ebx, ebx
je 0x4c16f0
mov dword [ebp + 0x10], 0
mov eax, dword [ebx]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push edi
push eax
push ebx
call ecx
mov edx, dword [esi + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], eax
jmp 0x4c16f3
mov ebx, dword [ebp + 0x14]
mov edi, dword [esi + 0x10]
add edx, eax
mov dword [esi + 0xc], edx
cmp edx, edi
jne 0x4c1708
mov dword [esi + 0xc], 0
xor edx, edx
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4c171c
mov byte [esi + 0x24], 1
xor ecx, ecx
mov dword [esi + 4], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], 0
test ebx, ebx
jne 0x4c1896
cmp edx, ecx
jne 0x4c1690
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebp + 8], ecx
jmp 0x4c0f76
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
cmp edx, ecx
je 0x4c1800
mov edi, dword [esi + 0x10]
nop
mov eax, ecx
sub edi, edx
sub eax, edx
cmp edx, ecx
mov ecx, dword [esi + 0x20]
cmovb edi, eax
xor ebx, ebx
test ecx, ecx
je 0x4c1789
mov eax, dword [esi]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0xc]
add esp, 0xc
add dword [esi + 0x20], edi
mov eax, dword [esi + 0x14]
mov ecx, edi
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x4c17b7
mov dword [ebp + 0x10], ebx
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push edi
push eax
push dword [esi + 0x14]
call ecx
mov ecx, dword [ebp + 0x10]
mov ebx, eax
mov edx, dword [esi + 0xc]
mov dword [ebp + 0x10], ecx
mov edi, dword [esi + 0x10]
add edx, ecx
mov dword [esi + 0xc], edx
cmp edx, edi
jne 0x4c17cc
mov dword [esi + 0xc], 0
xor edx, edx
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4c17e0
mov byte [esi + 0x24], 1
xor ecx, ecx
mov dword [esi + 4], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x18], eax
adc dword [esi + 0x1c], 0
test ebx, ebx
jne 0x4c1809
cmp edx, ecx
jne 0x4c1760
xor ebx, ebx
jmp 0x4c1809
mov ebx, 1
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4c1827
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x1c], 0
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4c183b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x3c], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4c184f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x5c], 0
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x4c1863
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0x7c], 0
mov eax, dword [esi + 0x4b4]
test eax, eax
je 0x4c187d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x4b4], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push eax
jmp 0x4c1907
push ebx
lea ecx, [ebp + 0x1c]
call fcn.004bf6b0
push 0x5601bc
mov eax, ecx
jmp 0x4c1916
mov eax, 0x8007000e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push eax
lea ecx, [ebp + 0x10]
call fcn.004bf6b0
push 0x560244
mov eax, ecx
push eax
call fcn.004fe52e
push eax
lea ecx, [ebp - 0x30]
call fcn.004bf6b0
push 0x560244
mov eax, ecx
push eax
call fcn.004fe52e
push ebx
lea ecx, [ebp + 0x10]
call fcn.004bf6b0
push 0x5601bc
mov eax, ecx
push eax
call fcn.004fe52e
push eax
lea ecx, [ebp - 0x34]
call fcn.004bf6b0
push 0x560244
mov eax, ecx
push eax
call fcn.004fe52e
int3