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

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 0xc]
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov ebx, dword [esi + 4]
mov byte [ebx + esi + 8], al
inc ebx
mov eax, dword [esi]
mov dword [esi + 4], ebx
cmp eax, 6
jne 0x42f5f9
cmp ebx, 3
jb 0x42f5ed
mov ecx, dword [esi + 8]
mov edx, ecx
shr edx, 1
and edx, 3
cmp edx, 1
jne 0x42f541
cmp ebx, 3
je 0x42f5ed
add dword [edi], edx
adc dword [edi + 4], 0
jmp 0x42f551
add dword [edi], 1
adc dword [edi + 4], 0
cmp edx, 3
je 0x42f5e9
mov al, cl
mov byte [esi + 0x19], dl
and al, 1
shr ecx, 3
mov byte [esi + 0x18], al
mov dword [esi + 0x2c], 0
mov dword [esi + 4], 0
and ecx, 0x1fffff
jne 0x42f591
cmp edx, 2
je 0x42f5e9
test al, al
je 0x42f5ed
test byte [esi + 0x16], 4
je 0x42f6ba
pop edi
pop esi
lea eax, [ecx + 1]
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x98]
mov dword [esi + 0x20], ecx
cmp edi, 0x20000
jb 0x42f5a7
mov edi, 0x20000
cmp ecx, edi
ja 0x42f5e9
test byte [esi + 0x16], 0xe0
je 0x42f5d1
mov ebx, dword [esi + 0x30]
sub ebx, dword [esi + 0x38]
mov eax, dword [esi + 0x34]
sbb eax, dword [esi + 0x3c]
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], eax
jb 0x42f5d1
ja 0x42f5cf
cmp edi, ebx
jbe 0x42f5d1
mov edi, ebx
mov dword [esi + 0x28], edi
cmp edx, 2
je 0x42f5dd
cmp ecx, edi
ja 0x42f5e9
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x1a], 1
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jae 0x42f6e3
cmp ebx, 4
jne 0x42f819
mov ebx, dword [esi + 8]
cmp eax, 1
jae 0x42f669
cmp ebx, 0xfd2fb528
jne 0x42f636
mov dword [esi + 4], 0
add dword [edi + 0x18], 1
adc dword [edi + 0x1c], 0
pop edi
pop esi
mov eax, 4
pop ebx
mov esp, ebp
pop ebp
ret
and ebx, 0xfffffff0
cmp ebx, 0x184d2a50
jne 0x42f65c
mov dword [esi + 4], 0
mov eax, 2
add dword [edi + 0x20], 1
adc dword [edi + 0x24], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
mov byte [esi + 0x1a], 1
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
jne 0x42f6c6
mov byte [edi + 0xc], 1
mov dword [edi + 0x10], ebx
cmp byte [esi + 0x1c], 0
jne 0x42f6ba
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x80]
and ecx, 0x1f
cmp edx, ecx
jae 0x42f698
pop edi
mov byte [esi + 0x1a], 1
mov eax, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x3c]
mov eax, dword [esi + 0x78]
push dword [esi + 0x38]
sub eax, ecx
add eax, edx
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00439830
add esp, 0x10
cmp eax, ebx
je 0x42f6ba
mov byte [esi + 0x1b], 1
pop edi
pop esi
mov eax, 8
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x20], ebx
mov eax, 3
add dword [edi + 0x28], ebx
adc dword [edi + 0x2c], 0
pop edi
mov dword [esi + 4], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, byte [esi + 8]
movzx ecx, dl
mov dword [ebp - 0xc], ecx
mov byte [esi + 0x16], dl
test cl, 8
je 0x42f704
pop edi
mov byte [esi + 0x1a], 1
mov eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ecx
shr ecx, 5
and eax, 3
shl ecx, 2
mov dword [ebp - 8], eax
mov eax, 0x9a563422
shr eax, cl
mov ecx, 3
sub ecx, dword [ebp - 8]
and eax, 0xf
sub ebx, eax
mov eax, 4
shr eax, cl
cmp ebx, eax
jne 0x42f62a
or byte [edi + 8], dl
lea ebx, [esi + 9]
mov ecx, dword [ebp - 0xc]
not dl
or byte [edi + 9], dl
xor al, al
mov dword [ebp - 4], ebx
test cl, 0x20
jne 0x42f75b
mov al, byte [ebx]
inc ebx
mov dword [ebp - 4], ebx
cmp byte [edi + 0xb], al
jae 0x42f75b
mov byte [edi + 0xb], al
mov byte [esi + 0x17], al
xor edx, edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x42f78a
lea ecx, [eax - 1]
or edx, 0xffffffff
mov eax, 1
shl eax, cl
mov ecx, 4
sub ecx, eax
shl ecx, 3
shr edx, cl
and edx, dword [ebx]
add ebx, eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ebx
mov dword [esi + 0x24], edx
test edx, edx
je 0x42f7a5
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x42f79d
mov dword [edi + 0x14], edx
jmp 0x42f7a5
cmp eax, edx
je 0x42f7a5
mov byte [edi + 0xd], 1
xor ebx, ebx
xor eax, eax
cmp ecx, 0x20
jb 0x42f7ff
shr ecx, 6
cmp ecx, 1
jne 0x42f7bb
mov ebx, 0x100
mov eax, 8
or edx, 0xffffffff
shl eax, cl
mov ecx, 0x40
sub ecx, eax
or eax, 0xffffffff
call fcn.004409f0
mov ecx, dword [ebp - 4]
and eax, dword [ecx]
and edx, dword [ecx + 4]
add ebx, eax
mov eax, 0
adc eax, edx
cmp dword [edi + 0x3c], eax
ja 0x42f7f7
jb 0x42f7f1
cmp dword [edi + 0x38], ebx
jae 0x42f7f7
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], eax
add dword [edi + 0x30], ebx
adc dword [edi + 0x34], eax
jmp 0x42f803
mov byte [edi + 0xa], 1
mov dword [esi + 0x34], eax
mov eax, 5
mov dword [esi + 0x30], ebx
mov dword [esi + 4], 0
mov byte [edi + 0xc], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret