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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12b1
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp edx, 2
jne 0x4f0907
test ecx, ecx
jne 0x4f0907
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12b1
mov eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x38]
je 0x4f08ec
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12b1
cmp dword [ebp - 0x48], 0
mov eax, dword [edi + 4]
ja 0x4f08e2
mov ecx, dword [ebp - 0x4c]
jb 0x4f08c5
cmp ecx, eax
ja 0x4f08e2
add dword [edi], ecx
sub eax, ecx
mov dword [edi + 4], eax
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
je 0x4f0896
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0x10
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12b1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp edx, 3
jne 0x4f0994
test ecx, ecx
jne 0x4f0994
lea eax, [ebp - 0xb0]
push eax
call fcn.004f0650
mov eax, dword [ebx + 0x30]
mov esi, dword [ebp + 0x20]
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebx + 0x3c]
push dword [ebx + 0x38]
push 8
push dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
call fcn.004f06f0
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [eax], ecx
lea eax, [ebp - 0xb0]
push eax
call fcn.004f05d0
mov eax, dword [ebp - 0x38]
add esp, 0x2c
test eax, eax
jne 0x4f12af
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12af
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
cmp edx, 4
jne 0x4f09ed
test ecx, ecx
jne 0x4f09ed
push dword [ebp + 0x1c]
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebx + 0x40]
push esi
push dword [eax]
push dword [ebp + 0x14]
push 0x40000000
push edi
push ebx
call fcn.004f1360
add esp, 0x20
test eax, eax
jne 0x4f12af
mov eax, dword [ebx + 0x38]
add dword [esi], eax
mov eax, dword [ebx + 0x3c]
adc dword [esi + 4], eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12af
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, edx
or eax, ecx
je 0x4f107c
cmp edx, 5
jne 0x4f12aa
test ecx, ecx
jne 0x4f12aa
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push eax
push edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x40], ecx
call fcn.004f12e0
add esp, 8
test eax, eax
jne 0x4f12af
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x48], eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12af
mov esi, dword [ebp - 0x10]
mov eax, esi
or eax, dword [ebp - 0xc]
je 0x4f0d51
lea eax, [ebp - 0x4c]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12af
cmp dword [ebp - 0x48], 0
mov eax, dword [edi + 4]
ja 0x4f12aa
mov ecx, dword [ebp - 0x4c]
jb 0x4f0a81
cmp ecx, eax
ja 0x4f12aa
cmp dword [ebp - 0xc], 0
ja case.0x4f0aa3.16
cmp esi, 0x100
jae case.0x4f0aa3.16
add esi, 0xfffffff2
cmp esi, 7
ja case.0x4f0aa3.16
jmp dword [esi*4 + 0x4f12b8]
test eax, eax
je 0x4f12aa
dec eax
mov dword [edi + 4], eax
mov eax, dword [edi]
mov dl, byte [eax]
mov byte [ebp - 4], dl
lea edx, [eax + 1]
cmp byte [ebp - 4], 0
mov dword [ebp - 0x28], edx
mov dword [edi], edx
jne 0x4f0ad0
lea eax, [ecx - 1]
jmp 0x4f0b00
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004f12e0
add esp, 8
test eax, eax
jne 0x4f12af
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jae 0x4f12aa
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx + ecx*8 + 4]
mov dword [ebp - 8], eax
test al, 1
jne 0x4f12aa
mov eax, dword [ebp - 0x18]
lea eax, [eax*4 + 4]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
mov edx, eax
add esp, 8
mov dword [ebx + 0x7c], edx
test edx, edx
je 0x4f129e
mov esi, dword [ebp - 8]
test esi, esi
jne 0x4f0b3d
mov dword [ebx + 0x80], esi
jmp 0x4f0b6d
mov eax, dword [ebp + 0x1c]
push esi
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x80], eax
test eax, eax
je 0x4f129e
push esi
push dword [ebp - 0x28]
push eax
call fcn.00501130
mov edx, dword [ebx + 0x7c]
add esp, 0xc
mov esi, dword [ebx + 0x80]
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov dword [edx], eax
add edx, 4
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x4f0b8c
mov eax, dword [ebp - 8]
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, 0x10
jmp 0x4f0bf0
mov ecx, dword [ebp - 8]
cmp ecx, 2
jb 0x4f0d43
cmp byte [esi + ecx - 2], al
jne 0x4f0d43
cmp byte [esi + ecx - 1], al
jne 0x4f0d43
nop dword [eax]
cmp eax, ecx
je 0x4f0d43
add eax, esi
cmp word [eax], 0
je 0x4f0bc9
add eax, 2
cmp word [eax], 0
jne 0x4f0bc0
sub eax, esi
add eax, 2
mov ecx, eax
shr ecx, 1
mov dword [edx], ecx
add edx, 4
sub dword [ebp - 0x28], 1
mov ecx, dword [ebp - 8]
jne 0x4f0bb0
xor edx, edx
mov ecx, 0x10
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmove ecx, edx
test ecx, ecx
jne 0x4f0d48
cmp byte [ebp - 4], cl
jne 0x4f0d27
sub dword [edi + 4], eax
add dword [edi], eax
jmp 0x4f0d27
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x30]
push eax
push esi
push edi
call fcn.004effc0
add esp, 0xc
test eax, eax
jne 0x4f12af
push esi
push dword [ebp - 0x30]
call fcn.004ef020
add esp, 8
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], 0
jmp 0x4f0d27
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x24]
push edi
call fcn.004effc0
add esp, 0xc
test eax, eax
jne 0x4f12af
jmp 0x4f0d27
push dword [ebp + 0x1c]
lea esi, [ebx + 0x5c]
push esi
call fcn.004f06c0
push dword [ebp + 0x1c]
push esi
push dword [ebp - 0x18]
push edi
call fcn.004ef080
add esp, 0x18
test eax, eax
jne 0x4f12af
mov eax, dword [edi + 4]
test eax, eax
je 0x4f12aa
dec eax
mov dword [edi + 4], eax
mov eax, dword [edi]
mov cl, byte [eax]
inc eax
mov dword [edi], eax
test cl, cl
jne 0x4f0c9e
mov eax, edi
jmp 0x4f0cd4
lea eax, [ebp - 0x44]
push eax
push edi
call fcn.004f12e0
add esp, 8
test eax, eax
jne 0x4f12af
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [eax]
jae 0x4f12aa
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*8]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + ecx*8 + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
push dword [ebp + 0x1c]
push esi
push dword [ebp - 0x18]
push eax
call fcn.004ef6f0
add esp, 0x10
test eax, eax
jne 0x4f12af
jmp 0x4f0d27
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [eax]
lea eax, [ebx + 0x64]
push dword [ebp + 0x14]
push edi
push dword [ebp - 0x18]
push eax
call fcn.004ef590
add esp, 0x18
test eax, eax
jne 0x4f12af
jmp 0x4f0d27
mov eax, dword [ebp + 0x18]
push dword [ebp + 0x1c]
push dword [eax]
lea eax, [ebx + 0x6c]
jmp 0x4f0cf9
sub eax, ecx
add dword [edi], ecx
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
je 0x4f0a44
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, 0x10
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x78]
jne 0x4f12aa
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12af
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0xc]
je 0x4f0da6
push edi
call fcn.004f0070
add esp, 4
test eax, eax
jne 0x4f12af
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.004ef150
add esp, 8
test eax, eax
je 0x4f0d75
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x54], eax
xorps xmm0, xmm0
mov dword [ebp - 8], eax
xor esi, esi
mov byte [ebp - 4], al
xor edi, edi
mov byte [ebp - 3], al
mov byte [ebp - 1], al
mov eax, dword [ebx + 4]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], edi
movlpd qword [ebp - 0x10], xmm0
lea eax, [eax*4 + 4]
mov byte [ebp - 2], 0x80
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x74], eax
test eax, eax
je 0x4f129e
mov eax, dword [ebx + 0x48]
test eax, eax
jne 0x4f0e01
mov dword [ebx + 0x78], esi
jmp 0x4f0e1b
shl eax, 2
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x78], eax
test eax, eax
je 0x4f129e
mov eax, dword [ebx + 0x48]
lea eax, [eax*8 + 8]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x4c], eax
test eax, eax
je 0x4f129e
mov eax, dword [ebx + 0x48]
add eax, 7
cmp eax, 8
jae 0x4f0e4c
mov dword [ebx + 0x50], esi
jmp 0x4f0e66
shr eax, 3
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x50], eax
test eax, eax
je 0x4f129e
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x38], eax
test eax, eax
jne 0x4f0e78
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], esi
jmp 0x4f0eb2
add eax, 7
shr eax, 3
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x54], eax
test eax, eax
je 0x4f129e
mov eax, dword [ebp - 0x38]
shl eax, 2
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [eax]
call eax
add esp, 8
mov dword [ebx + 0x58], eax
test eax, eax
je 0x4f129e
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4f0ee3
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov cl, byte [eax]
inc eax
mov byte [ebp - 4], cl
mov dword [ebp - 0x60], eax
test cl, cl
je 0x4f0ed2
mov dword [ebp - 8], eax
jmp 0x4f0ee3
mov edx, dword [ebp - 0x74]
add edx, 7
mov dword [ebp - 0x54], eax
shr edx, 3
add edx, eax
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x18], ecx
jbe 0x4f1010
mov al, byte [ebp - 2]
mov dword [ebp - 0x1c], edx
test al, al
jne 0x4f0f2f
mov eax, dword [ebx + 0x50]
dec ecx
mov bl, byte [ebp - 3]
shr ecx, 3
mov byte [ebp - 3], 0
mov byte [ebp - 2], 0x80
mov byte [ecx + eax], bl
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x54]
mov bl, byte [ebp - 1]
mov byte [ebp - 1], 0
mov byte [ecx + eax], bl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x30], 0
mov eax, dword [ebx + 0x4c]
mov dword [eax + ecx*8], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*8 + 4], edx
lea edx, [ecx*4]
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x28], edx
mov dword [edx + eax], 0
je 0x4f1085
mov ebx, dword [ebp - 0x30]
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 3
test byte [eax + ebx], dl
mov ebx, dword [ebp + 8]
je 0x4f1085
mov al, byte [ebp - 3]
or al, byte [ebp - 2]
cmp dword [ebp - 0x40], 0
mov byte [ebp - 0x29], al
je 0x4f0fbb
mov eax, dword [ebp - 0x44]
mov ecx, eax
mov edx, eax
and ecx, 7
inc eax
shr edx, 3
mov dword [ebp - 0x44], eax
mov eax, 0x80
sar eax, cl
mov ecx, dword [ebp - 0x40]
test byte [edx + ecx], al
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 0x29]
cmovne ecx, eax
mov byte [ebp - 3], cl
mov ecx, dword [ebp - 0x14]
jmp 0x4f0fbe
mov byte [ebp - 3], al
cmp dword [ebp - 0x34], 0
jne 0x4f1116
mov eax, dword [ebx + 0x78]
lea edx, [ecx*4]
mov dword [edx + eax], 0xffffffff
mov edx, dword [ebp - 0x1c]
mov al, byte [ebp - 2]
inc ecx
shr al, 1
mov dword [ebp - 0x14], ecx
mov byte [ebp - 2], al
cmp ecx, dword [ebp - 0x18]
jb 0x4f0f00
mov eax, dword [ebx + 0x50]
dec ecx
mov bl, byte [ebp - 3]
shr ecx, 3
mov byte [ecx + eax], bl
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x54]
mov bl, byte [ebp - 1]
mov byte [ecx + eax], bl
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x34], 0
mov eax, dword [ebx + 0x4c]
mov dword [eax + ecx*8], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*8 + 4], edx
jne 0x4f12aa
mov eax, dword [ebx + 0x74]
mov dword [eax + esi*4], ecx
cmp esi, dword [ebx + 4]
jae 0x4f106c
mov edi, dword [ebp - 0x14]
cmp dword [ebp - 0x70], 0
je 0x4f12aa
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004f12e0
add esp, 8
test eax, eax
jne 0x4f12af
cmp dword [ebp - 0x24], eax
jne 0x4f12aa
mov eax, dword [ebx + 0x74]
inc esi
mov dword [eax + esi*4], edi
cmp esi, dword [ebx + 4]
jb 0x4f1035
cmp dword [ebp - 0x70], 0
je 0x4f107c
cmp dword [ebp - 0x6c], 0
jne 0x4f12aa
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x34], 0
jne 0x4f1116
nop
cmp esi, dword [ebx + 4]
jae 0x4f12aa
cmp dword [ebp - 0x70], 0
mov edi, 1
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x24], edi
mov dword [eax + esi*4], ecx
je 0x4f10cb
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004f12e0
add esp, 8
test eax, eax
jne 0x4f12af
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov dword [ebp - 0x34], eax
test eax, eax
jne 0x4f1116
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [eax + esi]
mov eax, dword [ebx + 0x1c]
add ecx, dword [eax + esi*4]
mov eax, dword [ebx + 0x24]
mov edi, dword [eax + ecx*8]
add edx, edi
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [ebp - 0x20]
adc ecx, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp ecx, eax
jb 0x4f12aa
ja 0x4f110d
cmp edx, edi
jb 0x4f12aa
mov ecx, dword [ebp - 0x14]
inc esi
jmp 0x4f1090
cmp dword [ebp - 0x30], 0
lea edx, [ecx*4]
mov eax, dword [ebx + 0x78]
mov dword [edx + eax], esi
je 0x4f114a
mov ebx, dword [ebp - 0x30]
and ecx, 7
mov edx, 0x80
sar edx, cl
mov ecx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 3
test byte [eax + ebx], dl
mov ebx, dword [ebp + 8]
jne 0x4f0fd9
sub dword [ebp - 0x34], 1
jne 0x4f122c
mov eax, dword [ebx + 0x20]
movzx ecx, byte [eax + esi]
mov eax, dword [ebx + 0x1c]
add ecx, dword [eax + esi*4]
mov eax, dword [ebx + 0x24]
mov edx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [ebx + 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x74]
mov eax, dword [eax + esi*4]
mov ebx, dword [ecx + eax*8]
mov dword [ebp - 0x38], ebx
mov ebx, dword [ecx + eax*8 + 4]
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
sbb ecx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x50], ecx
jb 0x4f12aa
ja 0x4f11a5
cmp edx, eax
jb 0x4f12aa
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
add eax, edx
mov dword [ebp - 0x1c], eax
adc ecx, dword [ebp - 0x50]
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x50]
jb 0x4f12aa
ja 0x4f11c9
cmp eax, edx
jb 0x4f12aa
cmp edi, 1
jne 0x4f11f6
cmp dword [ebx + 0xc], 0
je 0x4f11f6
mov eax, dword [ebp - 0x14]
mov edx, 0x80
mov ecx, eax
shr eax, 3
and ecx, 7
sar edx, cl
mov ecx, dword [ebx + 0xc]
test byte [eax + ecx], dl
je 0x4f11f6
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x4f1211
cmp byte [ebp - 4], 0
jne 0x4f1208
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4f1223
test byte [eax], 0x80
je 0x4f1223
mov eax, dword [ebp - 8]
add dword [ebp - 8], 4
mov eax, dword [eax]
mov ecx, dword [ebx + 0x58]
mov edx, dword [ebp - 0x28]
mov dword [edx + ecx], eax
mov al, byte [ebp - 1]
or al, byte [ebp - 2]
mov byte [ebp - 1], al
mov ecx, dword [ebp - 0x14]
inc esi
jmp 0x4f0fd9
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004ef150
add esp, 8
test eax, eax
jne 0x4f12af
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
adc ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [ebp - 0x48]
jb 0x4f12aa
ja 0x4f125e
cmp edx, dword [ebp - 0x4c]
jb 0x4f12aa
cmp byte [ebp - 4], 0
jne 0x4f1278
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x4f1270
test byte [eax], 0x80
jne 0x4f1278
mov ecx, dword [ebp - 0x14]
jmp 0x4f0fdc
mov ecx, dword [ebx + 0x58]
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x28]
add dword [ebp - 8], 4
mov eax, dword [eax]
mov dword [ebx + ecx], eax
mov al, byte [ebp - 1]
or al, byte [ebp - 2]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 1], al
jmp 0x4f0fdc
pop esi
pop ebx
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret
mov eax, 0x10
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret