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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5326a5
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
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
cmp dword [ebp + 0x10], 1
jne 0x4c0b6b
cmp dword [ebp + 0x1c], 4
jne 0x4c0b6b
call fcn.004bfce0
test al, al
jne 0x4bfea0
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, dword [ebp + 0xc]
xorps xmm0, xmm0
mov byte [ebp - 0xd], 0
movlpd qword [ebp - 0x68], xmm0
test eax, eax
je 0x4bfed8
mov eax, dword [eax]
test eax, eax
je 0x4bfed8
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
test edx, edx
ja 0x4bfee4
jb 0x4bfed2
cmp ecx, 0x1000000
ja 0x4bfee4
mov byte [ebp - 0xd], 1
jmp 0x4bfee4
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x64], ebx
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov esi, dword [edi]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
test esi, esi
je 0x4bff05
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4bff12
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x24], esi
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov byte [ebx + 0x34], 0
mov esi, dword [edi + 4]
test esi, esi
je 0x4bff48
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x4bff55
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x4c], esi
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov byte [ebx + 0x5c], 0
mov esi, dword [edi + 8]
test esi, esi
je 0x4bff8b
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x4bff98
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x74], esi
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov byte [ebx + 0x84], 0
mov esi, dword [edi + 0xc]
test esi, esi
je 0x4bffd1
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebx + 0xb4]
test ecx, ecx
je 0x4bffe1
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0xb4], esi
lea edi, [ebx + 0xc8]
mov eax, dword [ebx + 0xb0]
lea esi, [ebx + 0x88]
mov dword [esi + 0x20], eax
mov ecx, 0x102
mov eax, 0x400
mov dword [esi + 0x24], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov byte [esi + 0x3c], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0xffffffff
mov dword [esi], 1
mov byte [esi + 4], 0
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 4], 1
push 0x54b300
mov eax, dword [ecx]
push ecx
call dword [eax]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movlpd qword [ebp - 0x60], xmm0
xor edi, edi
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x60]
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
movlpd qword [ebp - 0x58], xmm0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
movlpd qword [ebp - 0x70], xmm0
mov byte [ebp + 0x13], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0xc], edi
nop
xor eax, eax
mov edx, 0x20000
mov dword [ebp + 0x1c], eax
sub edx, edi
je 0x4c0102
nop
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
lea eax, [ebp - 0x54]
push eax
mov eax, dword [ebx + 8]
add eax, dword [ebp + 0x1c]
push edx
add eax, edi
push eax
push dword [ebp - 0x2c]
call ecx
mov edi, eax
test edi, edi
jne 0x4c0ae7
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0xc]
test ecx, ecx
je 0x4c0102
add eax, ecx
mov edx, 0x20000
sub edx, eax
mov dword [ebp + 0x1c], eax
sub edx, edi
jne 0x4c00c0
add eax, edi
mov dword [ebp - 0x28], eax
cmp eax, 5
jb 0x4c04dc
xor edx, edx
mov dword [ebp - 0x24], edx
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov dl, byte [edx + eax]
mov eax, dword [ebx + 0x14]
mov byte [ebp + 0x1f], dl
mov byte [ecx + eax], dl
inc dword [ebx + 0x14]
mov ecx, dword [ebx + 0x14]
cmp ecx, dword [ebx + 0x18]
jne 0x4c01ed
mov edx, dword [ebx + 0x1c]
cmp edx, ecx
je 0x4c01ea
jb 0x4c0148
mov edi, dword [ebx + 0x20]
jmp 0x4c014a
mov edi, ecx
mov ecx, dword [ebx + 0x30]
sub edi, edx
mov dword [ebp - 0x40], 0
test ecx, ecx
je 0x4c0170
mov eax, dword [ebx + 0x10]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [ebx + 0x1c]
add esp, 0xc
add dword [ebx + 0x30], edi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4c019c
mov dword [ebp + 0xc], 0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
add eax, edx
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push dword [ebx + 0x24]
call ecx
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x20]
add edx, edi
mov dword [ebx + 0x1c], edx
cmp edx, eax
jne 0x4c01b1
mov dword [ebx + 0x1c], 0
xor edx, edx
mov ecx, dword [ebx + 0x14]
cmp ecx, eax
jne 0x4c01c5
mov byte [ebx + 0x34], 1
xor ecx, ecx
mov dword [ebx + 0x14], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, dword [ebx + 0x20]
add dword [ebx + 0x28], edi
mov dword [ebx + 0x18], eax
adc dword [ebx + 0x2c], 0
mov eax, dword [ebp - 0x40]
test eax, eax
jne 0x4c0b84
cmp edx, ecx
jne 0x4c0141
mov dl, byte [ebp + 0x1f]
mov al, dl
and al, 0xfe
cmp al, 0xe8
je 0x4c020b
cmp byte [ebp + 0x13], 0xf
jne 0x4c0203
mov al, dl
and al, 0xf0
cmp al, 0x80
je 0x4c020b
mov byte [ebp + 0x13], dl
jmp 0x4c046c
mov ecx, dword [ebx + 8]
mov edi, dword [ebp - 0x24]
add ecx, edi
mov al, byte [ecx + 4]
movzx edx, byte [ecx + 3]
mov byte [ebp + 0xf], al
movzx eax, al
shl eax, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
mov dword [ebp - 0x5c], edx
lea eax, [edx + edi]
mov edx, dword [ebp - 0x44]
add edx, 5
add edx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x40], edx
test eax, eax
je 0x4c034b
xor ecx, ecx
add edi, dword [ebp - 0x70]
mov dword [ebp - 0x48], edi
adc ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x50], ecx
cmp dword [ebp + 8], ecx
ja 0x4c0305
jb 0x4c0277
mov ecx, dword [ebp + 0x14]
cmp ecx, edi
jae 0x4c0308
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x4c02ab
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
add ecx, dword [ebp - 0x78]
mov dword [ebp - 0x18], edx
adc edx, dword [ebp - 0x74]
add dword [ebp - 0x30], 1
adc dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
jmp 0x4c02e8
cmp edi, 1
je 0x4c02bc
cmp edi, 0x80004001
jne 0x4c0ae7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c02ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
or ecx, 0xffffffff
movlpd qword [ebp - 0x20], xmm0
or edx, 0xffffffff
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], edi
mov dword [ebp + 8], edx
mov dword [ebp + 0x14], ecx
cmp edx, dword [ebp - 0x50]
jb 0x4c0277
mov edi, dword [ebp - 0x48]
ja 0x4c0300
cmp ecx, edi
jb 0x4c0277
mov edx, dword [ebp - 0x40]
jmp 0x4c0308
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x4c034b
mov edx, ecx
mov ecx, dword [ebp + 8]
sub edx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x18]
mov dword [ebp - 0x48], ecx
jne 0x4c0363
cmp edx, 0x1000000
ja 0x4c0363
mov eax, dword [ebp - 0x5c]
cdq
add eax, edi
adc edx, dword [ebp - 0x50]
add eax, 5
adc edx, 0
cmp edx, dword [ebp - 0x18]
jb 0x4c035f
ja 0x4c033f
cmp eax, dword [ebp - 0x1c]
jb 0x4c035f
cmp edx, dword [ebp + 8]
ja 0x4c035f
jb 0x4c0373
cmp eax, dword [ebp + 0x14]
jmp 0x4c035d
cmp byte [ebp - 0xd], 0
je 0x4c0363
xor eax, eax
cmp eax, dword [ebp - 0x38]
ja 0x4c035f
jb 0x4c0373
cmp edx, dword [ebp - 0x3c]
jb 0x4c0373
xor al, al
jmp 0x4c0375
mov cl, byte [ebp + 0xf]
test cl, cl
je 0x4c0373
cmp cl, 0xff
je 0x4c0373
xor al, al
jmp 0x4c0375
mov al, 1
mov dl, byte [ebp + 0x1f]
cmp dl, 0xe8
jne 0x4c0383
movzx ecx, byte [ebp + 0x13]
jmp 0x4c0391
xor ecx, ecx
cmp dl, 0xe9
setne cl
add ecx, 0x100
lea edx, [ebx + 0xc8]
lea edx, [edx + ecx*4]
test al, al
je 0x4c0437
mov ecx, dword [esi + 0x10]
mov eax, ecx
shr eax, 0xb
imul eax, dword [edx]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
sub ecx, eax
mov dword [esi + 0x10], ecx
mov ecx, dword [edx]
mov eax, ecx
shr eax, 5
sub ecx, eax
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x4c03db
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.004bf8b0
cmp byte [ebp + 0x1f], 0xe8
mov eax, 0x60
mov edi, 0x38
cmovne edi, eax
mov eax, 0x18
add edi, ebx
mov dword [ebp + 0x10], eax
mov edx, dword [ebp - 0x40]
mov ecx, eax
mov eax, dword [edi + 4]
shr edx, cl
mov ecx, dword [edi]
mov byte [ecx + eax], dl
inc dword [edi + 4]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x4c041f
mov ecx, edi
call fcn.004bf770
test eax, eax
jne 0x4c0b84
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jns 0x4c03f6
mov cl, byte [ebp + 0xf]
mov eax, 5
mov byte [ebp + 0x13], cl
jmp 0x4c0471
mov eax, dword [esi + 0x10]
mov ecx, 0x800
shr eax, 0xb
imul eax, dword [edx]
mov dword [esi + 0x10], eax
sub ecx, dword [edx]
shr ecx, 5
add dword [edx], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x4c0466
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.004bf8b0
mov al, byte [ebp + 0x1f]
mov byte [ebp + 0x13], al
mov eax, 1
mov edx, dword [ebp - 0x24]
add edx, eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffffb
mov dword [ebp - 0x24], edx
cmp edx, eax
jbe 0x4c0115
add dword [ebp - 0x44], edx
add dword [ebp - 0x70], edx
mov ecx, dword [ebp + 0x20]
adc dword [ebp - 0x6c], 0
test ecx, ecx
je 0x4c04b1
mov eax, dword [ecx]
lea edx, [ebp - 0x70]
push 0
push edx
push ecx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jne 0x4c0ae7
mov edx, dword [ebp - 0x24]
xor edi, edi
mov dword [ebp + 0xc], edi
cmp edx, dword [ebp - 0x28]
jae 0x4c00b0
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebx + 8]
mov al, byte [ecx + edx]
inc edx
mov byte [ecx + edi], al
inc edi
cmp edx, esi
jb 0x4c04c2
lea esi, [ebx + 0x88]
jmp 0x4c00ab
xor edi, edi
mov dword [ebp + 0x14], edi
test eax, eax
je 0x4c064b
nop dword [eax]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x10]
mov dl, byte [edi + eax]
mov eax, dword [ebx + 0x14]
mov byte [ebp + 0x1f], dl
mov byte [ecx + eax], dl
mov ecx, dword [ebx + 0x14]
inc ecx
mov dword [ebx + 0x14], ecx
cmp ecx, dword [ebx + 0x18]
jne 0x4c05cc
mov edx, dword [ebx + 0x1c]
cmp edx, ecx
je 0x4c05c9
jb 0x4c0524
mov edi, dword [ebx + 0x20]
jmp 0x4c0526
mov edi, ecx
mov ecx, dword [ebx + 0x30]
sub edi, edx
mov dword [ebp + 8], 0
test ecx, ecx
je 0x4c054c
mov eax, dword [ebx + 0x10]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [ebx + 0x1c]
add esp, 0xc
add dword [ebx + 0x30], edi
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4c0578
mov dword [ebp + 0xc], 0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
add eax, edx
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push dword [ebx + 0x24]
call ecx
mov edi, dword [ebp + 0xc]
mov edx, dword [ebx + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x20]
add edx, edi
mov dword [ebx + 0x1c], edx
cmp edx, eax
jne 0x4c058d
mov dword [ebx + 0x1c], 0
xor edx, edx
mov ecx, dword [ebx + 0x14]
cmp ecx, eax
jne 0x4c05a1
mov byte [ebx + 0x34], 1
xor ecx, ecx
mov dword [ebx + 0x14], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, dword [ebx + 0x20]
add dword [ebx + 0x28], edi
mov dword [ebx + 0x18], eax
adc dword [ebx + 0x2c], 0
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4c0b84
cmp edx, ecx
jne 0x4c051d
mov edi, dword [ebp + 0x14]
mov dl, byte [ebp + 0x1f]
cmp dl, 0xe8
jne 0x4c05d7
movzx edx, byte [ebp + 0x13]
jmp 0x4c05f6
cmp dl, 0xe9
jne 0x4c05e3
mov edx, 0x100
jmp 0x4c05f6
cmp byte [ebp + 0x13], 0xf
jne 0x4c063b
mov al, dl
and al, 0xf0
cmp al, 0x80
jne 0x4c063b
mov edx, 0x101
mov eax, dword [esi + 0x10]
mov ecx, 0x800
shr eax, 0xb
imul eax, dword [ebx + edx*4 + 0xc8]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + edx*4 + 0xc8]
sub ecx, eax
shr ecx, 5
add ecx, eax
mov dword [ebx + edx*4 + 0xc8], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x4c0638
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.004bf8b0
mov dl, byte [ebp + 0x1f]
inc edi
mov byte [ebp + 0x13], dl
mov dword [ebp + 0x14], edi
cmp edi, dword [ebp - 0x28]
jb 0x4c04f0
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x14]
cmp edx, eax
je 0x4c0708
jb 0x4c0660
mov ecx, dword [ebx + 0x20]
jmp 0x4c0662
mov ecx, eax
sub ecx, edx
xor edi, edi
mov dword [ebp + 0x10], ecx
cmp dword [ebx + 0x30], edi
je 0x4c0689
mov eax, dword [ebx + 0x10]
push ecx
add eax, edx
push eax
push dword [ebx + 0x30]
call fcn.004fe5a0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add dword [ebx + 0x30], ecx
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4c06b2
mov dword [ebp + 0x1c], edi
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
add eax, edx
lea edx, [ebp + 0x1c]
push edx
push dword [ebp + 0x10]
push eax
push dword [ebx + 0x24]
call ecx
mov ecx, dword [ebp + 0x1c]
mov edi, eax
mov edx, dword [ebx + 0x1c]
add edx, ecx
mov dword [ebx + 0x1c], edx
cmp edx, dword [ebx + 0x20]
jne 0x4c06c5
mov dword [ebx + 0x1c], 0
xor edx, edx
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x10], eax
cmp eax, dword [ebx + 0x20]
jne 0x4c06e2
mov byte [ebx + 0x34], 1
mov dword [ebx + 0x14], 0
mov dword [ebp + 0x10], 0
cmp edx, dword [ebp + 0x10]
mov eax, edx
cmovbe eax, dword [ebx + 0x20]
add dword [ebx + 0x28], ecx
mov dword [ebx + 0x18], eax
adc dword [ebx + 0x2c], 0
test edi, edi
jne 0x4c0ae7
mov eax, dword [ebp + 0x10]
cmp edx, eax
jne 0x4c0659
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
cmp edx, eax
je 0x4c07c5
jb 0x4c071d
mov ecx, dword [ebx + 0x48]
jmp 0x4c071f
mov ecx, eax
sub ecx, edx
xor edi, edi
mov dword [ebp + 0x10], ecx
cmp dword [ebx + 0x58], edi
je 0x4c0746
mov eax, dword [ebx + 0x38]
push ecx
add eax, edx
push eax
push dword [ebx + 0x58]
call fcn.004fe5a0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add dword [ebx + 0x58], ecx
mov edx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x4c076f
mov dword [ebp + 0x1c], edi
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x38]
add eax, edx
lea edx, [ebp + 0x1c]
push edx
push dword [ebp + 0x10]
push eax
push dword [ebx + 0x4c]
call ecx
mov ecx, dword [ebp + 0x1c]
mov edi, eax
mov edx, dword [ebx + 0x44]
add edx, ecx
mov dword [ebx + 0x44], edx
cmp edx, dword [ebx + 0x48]
jne 0x4c0782
mov dword [ebx + 0x44], 0
xor edx, edx
mov eax, dword [ebx + 0x3c]
mov dword [ebp + 0x10], eax
cmp eax, dword [ebx + 0x48]
jne 0x4c079f
mov byte [ebx + 0x5c], 1
mov dword [ebx + 0x3c], 0
mov dword [ebp + 0x10], 0
cmp edx, dword [ebp + 0x10]
mov eax, edx
cmovbe eax, dword [ebx + 0x48]
add dword [ebx + 0x50], ecx
mov dword [ebx + 0x40], eax
adc dword [ebx + 0x54], 0
test edi, edi
jne 0x4c0ae7
mov eax, dword [ebp + 0x10]
cmp edx, eax
jne 0x4c0716
mov edx, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x64]
cmp edx, edi
je 0x4c089a
mov ecx, dword [ebx + 0x70]
mov eax, edi
sub ecx, edx
sub eax, edx
cmp edx, edi
cmovb ecx, eax
xor edi, edi
mov dword [ebp + 0x10], ecx
cmp dword [ebx + 0x80], edi
je 0x4c080f
mov eax, dword [ebx + 0x60]
push ecx
add eax, edx
push eax
push dword [ebx + 0x80]
call fcn.004fe5a0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
add dword [ebx + 0x80], ecx
mov edx, dword [ebx + 0x6c]
mov eax, dword [ebx + 0x74]
mov dword [ebp + 0x1c], ecx
test eax, eax
je 0x4c083e
mov dword [ebp + 0x1c], edi
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x60]
add eax, edx
lea edx, [ebp + 0x1c]
push edx
push dword [ebp + 0x10]
push eax
push dword [ebx + 0x74]
call ecx
mov ecx, dword [ebp + 0x1c]
mov edi, eax
mov edx, dword [ebx + 0x6c]
mov dword [ebp + 0x1c], ecx
add edx, ecx
mov ecx, dword [ebx + 0x70]
mov dword [ebx + 0x6c], edx
cmp edx, ecx
jne 0x4c0853
mov dword [ebx + 0x6c], 0
xor edx, edx
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0x10], eax
cmp eax, ecx
jne 0x4c0872
mov byte [ebx + 0x84], 1
mov dword [ebx + 0x64], 0
mov dword [ebp + 0x10], 0
cmp edx, dword [ebp + 0x10]
mov eax, edx
cmovbe eax, ecx
mov dword [ebx + 0x68], eax
mov eax, dword [ebp + 0x1c]
add dword [ebx + 0x78], eax
adc dword [ebx + 0x7c], 0
test edi, edi
jne 0x4c0ae7
mov edi, dword [ebp + 0x10]
cmp edx, edi
jne 0x4c07d6
mov edx, dword [esi + 8]
mov dword [ebp + 0xc], 0
cmp edx, 0xff000000
jb 0x4c08bc
cmp dword [esi + 0xc], 0
mov edx, dword [esi + 8]
jne 0x4c08bc
mov ecx, dword [esi]
jmp 0x4c09cf
mov al, byte [esi + 4]
mov byte [ebp + 0x13], al
mov eax, dword [esi + 8]
mov cl, 0x20
mov edx, dword [esi + 0xc]
call fcn.005251b0
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
add al, byte [ebp + 0x13]
mov byte [edx + ecx], al
inc dword [esi + 0x1c]
mov ecx, dword [esi + 0x1c]
cmp ecx, dword [esi + 0x20]
jne 0x4c09b3
mov edx, dword [esi + 0x24]
cmp edx, ecx
je 0x4c09b3
mov edi, dword [esi + 0x28]
nop dword [eax + eax]
mov eax, ecx
mov dword [ebp + 0x1c], 0
sub eax, edx
sub edi, edx
cmp edx, ecx
mov ecx, dword [esi + 0x38]
cmovb edi, eax
test ecx, ecx
je 0x4c092f
mov eax, dword [esi + 0x18]
push edi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [esi + 0x24]
add esp, 0xc
add dword [esi + 0x38], edi
mov eax, dword [esi + 0x2c]
mov ecx, edi
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x4c0963
mov dword [ebp + 0x10], 0
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x18]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push edi
push eax
push dword [esi + 0x2c]
call ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x10], ecx
mov edi, dword [esi + 0x28]
add edx, ecx
mov dword [esi + 0x24], edx
cmp edx, edi
jne 0x4c0978
mov dword [esi + 0x24], 0
xor edx, edx
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
jne 0x4c098c
mov byte [esi + 0x3c], 1
xor ecx, ecx
mov dword [esi + 0x1c], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
add dword [esi + 0x30], eax
mov eax, dword [ebp + 0x1c]
adc dword [esi + 0x34], 0
test eax, eax
jne 0x4c0b84
cmp edx, ecx
jne 0x4c0900
mov ecx, dword [esi]
sub ecx, 1
mov byte [ebp + 0x13], 0xff
mov dword [esi], ecx
jne 0x4c08c2
mov edx, dword [esi + 8]
mov eax, edx
shr eax, 0x18
mov byte [esi + 4], al
lea eax, [ecx + 1]
shl edx, 8
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], 0
mov dword [ebp + 0xc], eax
cmp eax, 5
jl 0x4c08a4
mov edx, dword [ebx + 0xac]
mov ecx, dword [ebx + 0xa4]
cmp edx, ecx
je 0x4c0ae5
mov esi, dword [ebx + 0xb0]
nop dword [eax + eax]
mov eax, ecx
sub esi, edx
sub eax, edx
cmp edx, ecx
mov ecx, dword [ebx + 0xc0]
cmovb esi, eax
xor edi, edi
test ecx, ecx
je 0x4c0a46
mov eax, dword [ebx + 0xa0]
push esi
add eax, edx
push eax
push ecx
call fcn.004fe5a0
mov edx, dword [ebx + 0xac]
add esp, 0xc
add dword [ebx + 0xc0], esi
mov eax, dword [ebx + 0xb4]
mov ecx, esi
mov dword [ebp + 0x10], ecx
test eax, eax
je 0x4c0a81
mov dword [ebp + 0x10], edi
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0xa0]
add eax, edx
lea edx, [ebp + 0x10]
push edx
push esi
push eax
push dword [ebx + 0xb4]
call ecx
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov edx, dword [ebx + 0xac]
mov dword [ebp + 0x10], ecx
mov esi, dword [ebx + 0xb0]
add edx, ecx
mov dword [ebx + 0xac], edx
cmp edx, esi
jne 0x4c0a9f
mov dword [ebx + 0xac], 0
xor edx, edx
mov ecx, dword [ebx + 0xa4]
cmp ecx, esi
jne 0x4c0abc
mov byte [ebx + 0xc4], 1
xor ecx, ecx
mov dword [ebx + 0xa4], 0
cmp edx, ecx
mov eax, edx
cmovbe eax, esi
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp + 0x10]
add dword [ebx + 0xb8], eax
adc dword [ebx + 0xbc], 0
test edi, edi
jne 0x4c0ae7
cmp edx, ecx
jne 0x4c0a10
xor edi, edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4c0af8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 6
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x4c0b13
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x24], 0
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x4c0b27
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x4c], 0
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x4c0b3b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebx + 0x74], 0
mov eax, dword [ebx + 0xb4]
test eax, eax
je 0x4c0b55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebx + 0xb4], 0
mov eax, edi
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 0x5601bc
mov eax, ecx
push eax
call fcn.004fe52e
int3