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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
test edx, edx
mov esi, dword [ebp + 0x14]
je 0x42b300
mov eax, dword [0x550680]
movzx ebx, byte [eax]
cmp byte [edx], bl
setne dl
cmp dword [ebp + 0x24], 0x38
setne al
or dl, al
jne 0x42b300
test edi, edi
mov eax, 0xfffffffe
je 0x42b305
mov dword [edi + 0x18], 0
mov edx, dword [edi + 0x20]
test edx, edx
jne 0x42b279
mov dword [edi + 0x20], 0x431cc0
mov dword [edi + 0x28], 0
mov ebx, dword [edi + 0x24]
test ebx, ebx
jne 0x42b287
mov dword [edi + 0x24], 0x431ce0
mov dword [ebp - 0x18], 6
cmp ecx, 0xffffffff
cmove ecx, dword [ebp - 0x18]
test esi, esi
mov dword [ebp - 0x18], ecx
js 0x42b310
mov edx, dword [ebp + 0x18]
dec edx
cmp edx, 8
seta al
cmp dword [ebp + 0x10], 8
setne cl
or al, cl
jne 0x42b2f0
cmp esi, 8
setle cl
cmp esi, 0xf
setg bl
or cl, bl
jne 0x42b2f0
mov edx, dword [ebp - 0x18]
shr edx, 0x1f
cmp dword [ebp - 0x18], 9
setg al
or al, dl
jne 0x42b2f0
mov ebx, dword [ebp + 0x1c]
shr ebx, 0x1f
cmp dword [ebp + 0x1c], 2
setg cl
or cl, bl
je 0x42b31b
lea esi, [esi]
lea edi, [edi]
add esp, 0x1c
mov eax, 0xfffffffe
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 0xfffffffa
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x10], 1
neg esi
jmp 0x42b29c
mov ebx, 0x16b8
mov eax, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov edx, dword [edi + 0x28]
mov dword [esp], edx
call dword [edi + 0x20]
mov ebx, eax
test ebx, ebx
mov eax, 0xfffffffc
je 0x42b305
mov dword [ebx + 0x28], esi
mov ecx, esi
mov eax, 1
mov dword [edi + 0x1c], ebx
mov edx, dword [ebp - 0x10]
shl eax, cl
mov dword [ebx + 0x24], eax
mov ecx, dword [ebp + 0x18]
dec eax
mov dword [ebx + 0x2c], eax
mov esi, dword [ebp + 0x18]
mov eax, 0xaaaaaaab
mov dword [ebx + 0x18], edx
add ecx, 7
mov edx, 1
mov dword [ebx + 0x48], ecx
shl edx, cl
add esi, 9
mov dword [ebx + 0x44], edx
mov ecx, edx
dec ecx
mul esi
mov esi, 2
mov dword [ebx + 0x4c], ecx
mov dword [ebx], edi
shr edx, 1
mov dword [ebx + 0x50], edx
mov edx, 2
mov dword [ebp - 0x14], 1
mov dword [esp + 8], edx
mov ecx, dword [ebx + 0x24]
mov dword [esp + 4], ecx
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call dword [edi + 0x20]
mov dword [ebx + 0x30], eax
mov dword [esp + 8], esi
mov edx, dword [ebx + 0x24]
mov dword [esp + 4], edx
mov ecx, dword [edi + 0x28]
mov dword [esp], ecx
call dword [edi + 0x20]
mov dword [ebx + 0x38], eax
mov eax, 2
mov dword [esp + 8], eax
mov esi, dword [ebx + 0x44]
mov dword [esp + 4], esi
mov edx, dword [edi + 0x28]
mov esi, 4
mov dword [esp], edx
call dword [edi + 0x20]
mov ecx, dword [ebp + 0x18]
add ecx, 6
shl dword [ebp - 0x14], cl
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x1694], eax
mov dword [esp + 8], esi
mov edx, dword [ebx + 0x1694]
mov dword [esp + 4], edx
mov ecx, dword [edi + 0x28]
mov dword [esp], ecx
call dword [edi + 0x20]
mov edx, dword [ebx + 0x1694]
mov esi, dword [ebx + 0x30]
mov ecx, eax
mov dword [ebx + 8], eax
test esi, esi
lea eax, [edx*4]
mov dword [ebx + 0xc], eax
je 0x42b592
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x42b592
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x42b592
test ecx, ecx
je 0x42b592
mov eax, edx
lea esi, [edx + edx*2]
and eax, 0xfffffffe
add eax, ecx
lea edx, [ecx + esi]
mov esi, dword [ebp + 0x1c]
movzx ecx, byte [ebp + 0x10]
mov dword [ebx + 0x169c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x1690], edx
mov byte [ebx + 0x1d], cl
mov dword [ebx + 0x7c], eax
mov dword [ebx + 0x80], esi
mov ebx, dword [edi + 0x1c]
test ebx, ebx
je 0x42b2f0
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x42b2f0
mov edx, dword [edi + 0x24]
test edx, edx
je 0x42b2f0
mov dword [edi + 0x2c], 2
mov esi, dword [ebx + 8]
cmp dword [ebx + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 8], 0
mov dword [edi + 0x18], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x10], esi
jl 0x42b64d
je 0x42b654
mov eax, 0x71
mov dword [ebx + 4], eax
mov dword [edi + 0x30], 1
mov dword [ebx + 0x20], 0
mov dword [esp], ebx
call fcn.0042caa0
mov edi, dword [ebx + 0x24]
xor eax, eax
mov esi, dword [ebx + 0x44]
mov ecx, dword [ebx + 0x3c]
add edi, edi
lea edx, [esi + esi - 2]
mov word [ecx + esi*2 - 2], 0
mov dword [ebx + 0x34], edi
mov dword [esp + 8], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memset
mov dword [ebx + 0x64], 0
mov edi, dword [ebx + 0x7c]
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x6c], 0
lea eax, [edi + edi*2]
shl eax, 2
movzx esi, word [eax + 0x557b6a]
movzx edx, word [eax + 0x557b68]
movzx ecx, word [eax + 0x557b6c]
movzx edi, word [eax + 0x557b6e]
xor eax, eax
mov dword [ebx + 0x78], esi
mov dword [ebx + 0x84], edx
mov dword [ebx + 0x88], ecx
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x70], 2
mov dword [ebx + 0x58], 2
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x40], 0
jmp 0x42b305
mov ebx, dword [str.insufficient_memory]
test edi, edi
mov dword [edi + 0x18], ebx
je 0x42b5c1
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x42b5c1
mov ebx, dword [ecx + 4]
cmp ebx, 0x2a
setne dl
cmp ebx, 0x71
setne al
test al, dl
je 0x42b5cb
cmp ebx, 0x29a
je 0x42b5cb
mov eax, 0xfffffffc
jmp 0x42b305
mov eax, dword [ecx + 8]
test eax, eax
jne 0x42b605
mov eax, dword [ecx + 0x3c]
test eax, eax
jne 0x42b63b
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x42b629
mov eax, dword [ecx + 0x30]
test eax, eax
jne 0x42b617
mov dword [esp + 4], ecx
mov edx, dword [edi + 0x28]
mov dword [esp], edx
call dword [edi + 0x24]
mov dword [edi + 0x1c], 0
mov eax, 0xfffffffc
jmp 0x42b305
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x28]
mov dword [esp], ecx
call dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
jmp 0x42b5d2
mov dword [esp + 4], eax
mov eax, dword [edi + 0x28]
mov dword [esp], eax
call dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
jmp 0x42b5e7
mov dword [esp + 4], eax
mov ebx, dword [edi + 0x28]
mov dword [esp], ebx
call dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
jmp 0x42b5e0
mov dword [esp + 4], eax
mov esi, dword [edi + 0x28]
mov dword [esp], esi
call dword [edi + 0x24]
mov ecx, dword [edi + 0x1c]
jmp 0x42b5d9
mov dword [ebx + 0x18], 0
mov eax, 0x2a
jmp 0x42b4df