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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x18], eax
mov ecx, dword [edi + 4]
add ecx, dword [edi + 8]
mov ebx, dword [edi + 0xc]
mov byte [edi], 0
cmp byte [edi + 2], 0
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
je 0x42ee67
mov ebx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
mov edx, dword [edi + 0x30]
cmp ebx, dword [edi + 0x34]
jb 0x42f1ff
ja 0x42edc0
cmp eax, edx
jb 0x42f1ff
sub eax, edx
mov dword [ebp - 0x14], 0
mov edx, dword [ebp + 0x10]
sbb ebx, dword [edi + 0x34]
cmp dword [ebp - 0x14], ebx
jb 0x42eddc
ja 0x42edda
cmp edx, eax
jb 0x42eddc
mov edx, eax
mov ebx, dword [ebp - 0xc]
mov eax, dword [esi + 0x80]
add eax, edx
cmp byte [esi + 0x1a], 0
mov dword [ebp - 0x1c], eax
jne 0x42f2fc
mov edx, dword [edi + 8]
sub ebx, edx
mov eax, dword [esi]
mov dword [ebp - 0x14], ebx
cmp eax, 7
jne 0x42f213
mov eax, dword [esi + 0x80]
cmp eax, dword [ebp - 0x18]
jne 0x42f285
mov cl, byte [esi + 0x19]
mov edx, dword [esi + 0x20]
mov byte [ebp - 1], cl
lea ecx, [esi + 0x20]
cmp byte [ebp - 1], 2
mov dword [ebp - 0x20], ecx
je 0x42ef3a
mov ebx, dword [ebp - 0x1c]
sub ebx, eax
cmp ebx, edx
jbe 0x42ee3a
mov ebx, edx
cmp byte [ebp - 1], 0
jne 0x42ee6f
mov eax, dword [ebp - 0x14]
cmp ebx, eax
jbe 0x42ee49
mov ebx, eax
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x80]
push ebx
push dword [ebp - 8]
push eax
call sub.msvcrt.dll_memcpy
add dword [ebp - 8], ebx
add esp, 0xc
add dword [edi + 8], ebx
jmp 0x42ee87
mov edx, dword [ebp + 0x10]
jmp 0x42eddf
movzx eax, byte [esi + 0xb]
push ebx
push eax
mov eax, dword [esi + 0x78]
add eax, dword [esi + 0x80]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, dword [esi + 0x80]
mov edx, ecx
mov eax, dword [esi + 0x38]
and eax, 0x1f
sub edx, eax
lea eax, [ecx + ebx]
mov dword [ebp - 0x14], edx
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x98]
add ecx, ebx
mov dword [esi + 0x80], eax
cmp ecx, edx
jb 0x42eeb7
mov ecx, edx
xor edx, edx
mov dword [esi + 0x9c], ecx
add dword [esi + 0x38], ebx
mov dword [ebp - 0x10], edx
adc dword [esi + 0x3c], edx
cmp byte [esi + 0x1c], dl
jne 0x42eef2
test byte [esi + 0x16], 4
je 0x42eef2
sub eax, dword [ebp - 0x14]
and eax, 0xffffffe0
je 0x42eef2
add eax, dword [esi + 0x78]
lea ecx, [esi + 0x40]
mov edx, dword [ebp - 0x14]
add eax, edx
add edx, dword [esi + 0x78]
push eax
call fcn.004396a0
mov edx, dword [ebp - 0x10]
lea ecx, [edi + 0x30]
mov eax, ebx
add dword [ecx], eax
mov eax, dword [ebp - 0x20]
adc edx, dword [ecx + 4]
mov dword [ecx + 4], edx
sub dword [eax], ebx
je 0x42f195
cmp byte [edi + 2], 0
je 0x42f252
mov eax, dword [edi + 0x2c]
cmp eax, dword [ecx + 4]
ja 0x42f252
jb 0x42ef2d
mov eax, dword [edi + 0x28]
cmp eax, dword [ecx]
ja 0x42f252
mov al, 4
mov byte [edi], al
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x2c]
mov esi, dword [eax]
sub edx, esi
mov dword [ebp - 0x14], esi
test esi, esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
jne 0x42f063
mov dword [ebp - 0x10], eax
cmp ebx, edx
jb 0x42f069
cmp dword [edi + 8], 0xd
jae 0x42f0af
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
test al, 2
jne 0x42efc4
mov ecx, eax
mov eax, 1
shr ecx, 3
test byte [ebp - 0x10], 4
je 0x42efb7
cmp edx, 3
jb 0x42f0af
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
shr ecx, 1
and esi, 8
mov dword [ebp - 0x20], esi
movzx eax, word [eax + 1]
mov esi, dword [ebp + 8]
jne 0x42efa7
movzx eax, al
shl eax, 4
add ecx, eax
xor eax, eax
cmp dword [ebp - 0x20], eax
setne al
add eax, 2
test byte [ebp - 0x10], 1
je 0x42f004
mov ecx, 1
jmp 0x42f004
cmp edx, 5
jb 0x42f0af
and eax, 0xc
add eax, 0x10
lea eax, [eax + eax*2]
shr eax, 4
mov dword [ebp - 0x10], eax
lea ecx, [eax*4 - 6]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 1]
shr eax, cl
mov dword [ebp - 0x20], eax
mov eax, 0x10
shl eax, cl
mov ecx, dword [ebp - 0x20]
dec eax
and ecx, eax
je 0x42f0af
mov eax, dword [ebp - 0x10]
add eax, ecx
cmp eax, edx
jae 0x42f0af
mov ecx, dword [ebp - 8]
movzx ecx, byte [eax + ecx]
inc eax
cmp ecx, 0x7f
jbe 0x42f04e
cmp eax, edx
jae 0x42f0af
mov edi, dword [ebp - 8]
add ecx, 0xffffff80
movzx edi, byte [eax + edi]
inc eax
mov dword [ebp - 0x20], edi
mov edi, dword [ebp + 0xc]
cmp ecx, 0x7f
jne 0x42f048
cmp eax, edx
jae 0x42f0af
mov ecx, dword [ebp - 8]
movzx ecx, byte [eax + ecx]
add ecx, 0x7f
inc eax
shl ecx, 8
add ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x42f0af
add eax, dword [edi + 8]
cmp eax, 0xf
jae 0x42f0af
lea eax, [esi + 0x2c]
mov dword [ebp - 0x10], eax
lea ecx, [esi + 0x20]
cmp ebx, edx
jbe 0x42f069
mov ebx, edx
test ebx, ebx
je 0x42f0c4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x42f085
mov eax, dword [esi + 0x60]
xor edx, edx
mov dword [eax + 0x30], edx
mov dword [eax + 0x34], edx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], edx
mov eax, dword [esi + 0x60]
add ecx, 0x40
push ebx
push dword [ebp - 8]
add eax, ecx
push eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x10]
lea ecx, [esi + 0x20]
add dword [edi + 8], ebx
add esp, 0xc
mov edx, dword [ebp - 0x14]
add dword [ebp - 8], ebx
add edx, ebx
mov dword [eax], edx
jmp 0x42f0c7
mov eax, dword [ebp - 8]
lea ecx, [esi + 0x20]
mov dword [ebp - 0x10], eax
sub ebx, edx
add eax, edx
add dword [edi + 8], edx
mov dword [ebp - 8], eax
jmp 0x42f0f2
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx]
jne 0x42f2b9
mov eax, dword [esi + 0x60]
xor ebx, ebx
mov dword [eax + edx + 0x40], ebx
mov dword [eax + edx + 0x44], ebx
mov dword [eax + edx + 0x48], ebx
mov dword [eax + edx + 0x4c], ebx
mov ebx, 0x40
mov eax, dword [esi + 0x60]
add eax, 0x40
mov dword [ebp - 0x10], eax
cmp dword [edi + 0x20], 0
mov eax, dword [esi + 0x80]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x14], eax
je 0x42f113
mov eax, dword [esi + 0x7c]
sub eax, dword [ebp - 0x14]
cmp edx, eax
jbe 0x42f113
mov edx, eax
lea ecx, [esi + 0x20]
push edx
push ebx
push dword [ecx]
lea eax, [esi + 0x78]
push dword [ebp - 0x10]
push eax
call fcn.0042e540
add esp, 0x14
test eax, eax
jne 0x42f304
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x80]
and eax, 0x1f
mov ecx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x14]
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, 0
mov ecx, edx
add dword [edi + 0x30], ecx
lea ecx, [edi + 0x30]
adc eax, dword [edi + 0x34]
mov dword [edi + 0x34], eax
add dword [esi + 0x38], edx
adc dword [esi + 0x3c], 0
cmp byte [esi + 0x1c], 0
jne 0x42f195
test byte [esi + 0x16], 4
lea ecx, [edi + 0x30]
je 0x42f195
mov eax, dword [esi + 0x80]
lea ecx, [edi + 0x30]
mov edx, dword [ebp - 0x20]
sub eax, edx
and eax, 0xffffffe0
je 0x42f195
add eax, dword [esi + 0x78]
lea ecx, [esi + 0x40]
add eax, edx
add edx, dword [esi + 0x78]
push eax
call fcn.004396a0
lea ecx, [edi + 0x30]
cmp byte [esi + 0x18], 0
jne 0x42f1dc
mov dword [esi], 6
cmp byte [edi + 2], 0
je 0x42f1b8
mov eax, dword [edi + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x42f1ff
ja 0x42f1b8
mov eax, dword [edi + 0x28]
cmp eax, dword [ecx]
jb 0x42f1ff
mov eax, dword [ebp - 0x18]
cmp dword [esi + 0x80], eax
jne 0x42f26f
mov ecx, dword [ebp - 8]
cmp byte [esi + 0x1a], 0
jne 0x42f2fc
mov ebx, dword [ebp - 0xc]
jmp 0x42edf4
test byte [esi + 0x16], 4
je 0x42f20b
mov dword [esi], 1
cmp byte [edi + 2], 0
je 0x42f1c7
mov eax, dword [edi + 0x2c]
cmp eax, dword [ecx + 4]
jb 0x42f1ff
ja 0x42f1c7
mov eax, dword [edi + 0x28]
cmp eax, dword [ecx]
jae 0x42f1c7
mov byte [edi], 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi], 8
jmp 0x42f1c7
cmp eax, 8
je 0x42f2c5
cmp eax, 5
je 0x42f266
cmp eax, 3
je 0x42f291
test ebx, ebx
je 0x42f2b9
lea eax, [edx + 1]
mov dword [edi + 8], eax
mov al, byte [ecx]
lea ecx, [edi + 0x38]
push ecx
push eax
push esi
call fcn.0042f4f0
mov ecx, dword [ebp - 8]
add esp, 0xc
inc ecx
mov dword [esi], eax
mov dword [ebp - 8], ecx
jmp 0x42f1ca
cmp byte [esi + 0x19], 0
jne 0x42f262
mov eax, dword [ebp - 0xc]
cmp eax, dword [edi + 8]
mov al, 3
je 0x42f264
mov al, 2
mov byte [edi], al
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
cmp eax, dword [edi + 8]
sete al
add al, 2
mov byte [edi], al
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xb
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20]
cmp ebx, ecx
jbe 0x42f29a
mov ebx, ecx
lea eax, [edx + ebx]
sub ecx, ebx
mov dword [edi + 8], eax
mov dword [esi + 0x20], ecx
jne 0x42f2b9
mov dword [esi], 0
xor eax, eax
mov byte [edi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 1
test byte [esi + 0x16], 0xe0
je 0x42f2ea
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x38]
jne 0x42f2de
mov eax, dword [esi + 0x34]
cmp eax, dword [esi + 0x3c]
je 0x42f2ea
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi + 0x1b]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [edi], 0
mov eax, 1
pop edi
mov byte [esi + 0x1a], 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret