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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov dword [esp + 0x3c], ecx
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
mov dword [ebx], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x100000
mov dword [esp + 0xc], 0
mov dword [esp + 0x48], 0x3c3d3e3f
mov dword [esp + 0x4c], 0
mov dword [esp + 0x4f], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xa
ja 0x4352d8
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x48]
lea edx, [eax - 0x27b75188]
lea esi, [eax + 0x78]
or esi, edx
and esi, ecx
not ecx
or ecx, edx
add esi, ecx
neg esi
add eax, esi
add eax, 0xd848ae77
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
add al, 0xb8
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x48], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xb
jb 0x435290
mov eax, dword [esp + 0x48]
mov ecx, dword [0x447094]
test ecx, ecx
je 0x43532e
xor edx, edx
mov esi, dword [0x447098]
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x435300
inc edx
cmp ecx, edx
jne 0x4352f0
jmp 0x43532e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43532e
lea eax, [esp + 0x30]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x44709c]
push ecx
call fcn.004366c0
add esp, 0x24
test eax, eax
js 0x4359ea
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x38], 0x10000
jmp 0x435397
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x48]
mov dword [esp + 0x38], eax
cmp eax, 0x7fffffff
jae 0x435921
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov dword [esp + 0x18], 0x3c3d3e3f
lea eax, [esp + 0x1c]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x435418
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x18]
lea esi, [eax - 0x27b75188]
lea edi, [eax + 0x78]
or edi, esi
and edi, edx
not edx
or edx, esi
add edi, edx
neg edi
add eax, edi
add eax, 0xd848ae77
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xb8
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x4353d0
mov eax, dword [esp + 0x18]
mov edx, dword [0x447094]
test edx, edx
je 0x435470
xor esi, esi
mov edi, dword [0x447098]
nop
nop
cmp dword [edi + esi*8], 0x1a7c99fc
je 0x435440
inc esi
cmp edx, esi
jne 0x435430
jmp 0x435470
mov edx, dword [edi + esi*8 + 4]
cmp edx, eax
je 0x435470
push 0
push 0x1c
lea eax, [esp + 0x50]
push eax
push 0
push dword [esp + 0x48]
push ecx
push 6
push dword [0x44709c]
push edx
call fcn.004366c0
add esp, 0x24
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0xbfffffff
ja 0x435921
test eax, eax
js 0x435380
cmp dword [esp + 0x58], 0x1000
jne 0x435380
cmp dword [esp + 0x5c], 1
je 0x435380
mov eax, dword [esp + 0x30]
cmp dword [esp + 0x54], eax
jbe 0x43566a
mov dword [esp + 0x18], 0x3c3d3e3f
lea eax, [esp + 0x1c]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x435528
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x27b75188]
lea esi, [eax + 0x78]
or esi, edx
and esi, ecx
not ecx
or ecx, edx
add esi, ecx
neg esi
add eax, esi
add eax, 0xd848ae77
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xb8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x4354e0
mov eax, dword [0x447094]
test eax, eax
je 0x43557a
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x447098]
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x435550
inc edx
cmp eax, edx
jne 0x435540
jmp 0x43557a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x43557a
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44709c]
push eax
call fcn.004366c0
add esp, 0x1c
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], 0x3c3d3e3f
lea eax, [esp + 0x1c]
mov dword [eax + 3], 0
mov dword [eax], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x435608
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x27b75188]
lea esi, [eax + 0x78]
or esi, edx
and esi, ecx
not ecx
or ecx, edx
add esi, ecx
neg esi
add eax, esi
add eax, 0xd848ae77
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xb8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x4355c0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x447094]
test ecx, ecx
je 0x43565e
xor edx, edx
mov esi, dword [0x447098]
nop
nop
cmp dword [esi + edx*8], 0xd23749
je 0x435630
inc edx
cmp ecx, edx
jne 0x435620
jmp 0x43565e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x43565e
push 4
push 0x3000
lea eax, [esp + 0x38]
push eax
push 0
lea eax, [esp + 0x1c]
push eax
push 0xffffffffffffffff
push 6
push dword [0x44709c]
push ecx
call fcn.004366c0
add esp, 0x24
test eax, eax
js 0x435921
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 8]
push edx
push eax
push dword [esp + 0x14]
push dword [esp + 0x44]
call fcn.004350b0
cmp eax, 0xbfffffff
ja 0x435380
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
call fcn.00435a00
add esp, 0x18
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
cmp ecx, edx
je 0x435380
mov eax, dword [ebx + 8]
mov dword [esp + 0x34], eax
mov esi, dword [ebx]
mov dword [esp + 0x10], esi
mov edi, dword [ebx + 4]
mov dword [esp + 0x64], ecx
mov esi, ecx
mov dword [esp + 0x70], edx
jmp 0x435705
mov eax, edx
mov edx, ebx
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0x74]
mov dword [edx + esi*4], ebx
add edi, 4
mov dword [ecx + 4], edi
mov esi, dword [esp + 0x78]
add esi, 4
cmp esi, eax
mov edx, eax
je 0x4358fd
mov dword [esp + 0x78], esi
mov esi, dword [esi]
sub esi, dword [esp + 0xc]
add esi, dword [esp + 0x38]
mov dword [esp + 0x74], esi
mov esi, edi
mov ebx, dword [esp + 0x10]
sub esi, ebx
sar esi, 2
cmp edi, dword [esp + 0x34]
jne 0x4356e0
lea eax, [esi + 1]
mov ecx, esi
shr ecx, 1
add ecx, esi
cmp ecx, eax
ja 0x435737
mov ecx, eax
mov dword [esp + 0x34], ecx
lea eax, [ecx*4]
push eax
call fcn.00408cd0
add esp, 4
mov edx, eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov ebx, dword [ebp + 8]
je 0x4358db
mov ebx, edi
not ebx
and ebx, ecx
mov eax, ecx
not eax
and eax, edi
mov dword [esp + 0x2c], eax
sub eax, ebx
cmp edx, ecx
mov dword [esp + 0x40], edx
jbe 0x43584f
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, ecx
cmp eax, edx
mov eax, dword [esp + 0x14]
jbe 0x43584f
test eax, eax
je 0x4358c8
mov edi, eax
xor eax, 0xfffffffe
mov ecx, edi
and ecx, 0xfffffffe
lea eax, [eax + ecx*2]
mov ecx, dword [esp + 0x10]
add eax, ecx
inc eax
mov ecx, dword [esp + 0x40]
add ecx, edi
dec ecx
not ebx
mov edx, dword [esp + 0x2c]
add edx, ebx
and edi, 7
je 0x4357e8
mov dword [esp + 0x2c], edx
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
dec edx
cmp edi, edx
jne 0x4357d0
add dword [esp + 0x14], edx
add eax, edx
add ecx, edx
mov edx, dword [esp + 0x2c]
cmp edx, 7
mov edi, dword [esp + 0x14]
jb 0x4358c8
neg edi
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [eax + edx]
mov byte [ecx + edx], bl
movzx ebx, byte [eax + edx - 1]
mov byte [ecx + edx - 1], bl
movzx ebx, byte [eax + edx - 2]
mov byte [ecx + edx - 2], bl
movzx ebx, byte [eax + edx - 3]
mov byte [ecx + edx - 3], bl
movzx ebx, byte [eax + edx - 4]
mov byte [ecx + edx - 4], bl
movzx ebx, byte [eax + edx - 5]
mov byte [ecx + edx - 5], bl
movzx ebx, byte [eax + edx - 6]
mov byte [ecx + edx - 6], bl
movzx ebx, byte [eax + edx - 7]
mov byte [ecx + edx - 7], bl
add edx, 0xfffffff8
cmp edi, edx
jne 0x435800
jmp 0x4358c8
mov edi, ecx
mov dword [esp + 0x10], ecx
mov ecx, eax
shr ecx, 2
mov ebx, eax
mov eax, edi
mov edi, edx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, ebx
xor ecx, 3
mov eax, ebx
or eax, 0xfffffffc
and eax, ecx
add eax, edx
mov ecx, ebx
not ecx
mov dword [esp + 0x2c], ecx
or ecx, 0xfffffffc
add ecx, ebx
mov edx, dword [esp + 0x10]
lea edi, [edx + ecx]
inc edi
mov ecx, ebx
and ecx, 3
mov dword [esp + 0x68], ecx
shr ecx, 1
mov dword [esp + 0x6c], edi
mov dword [esp + 0x14], edi
mov edi, eax
mov edx, dword [esp + 0x14]
xchg esi, edx
rep movsw word es:[edi], word [esi]
xchg esi, edx
test bl, 1
je 0x4358c8
mov ecx, dword [esp + 0x2c]
or ecx, 0xfffffffe
mov edx, dword [esp + 0x68]
add edx, ecx
and ebx, 2
mov ecx, dword [esp + 0x6c]
movzx ecx, byte [ecx + edx + 1]
mov byte [eax + ebx], cl
push dword [esp + 0x10]
call fcn.00408ce0
add esp, 4
mov ebx, dword [ebp + 8]
mov edx, dword [esp + 0x40]
mov dword [ebx], edx
lea edi, [edx + esi*4]
mov eax, dword [esp + 0x34]
lea eax, [edx + eax*4]
mov dword [esp + 0x34], eax
mov dword [ebx + 8], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x70]
mov ecx, ebx
jmp 0x4356e7
mov ebx, ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x435380
cmp eax, edx
je 0x435380
push eax
call fcn.00408ce0
add esp, 4
jmp 0x435380
mov dword [esp + 0x18], 0x3c3d3e3f
mov dword [esp + 0x1c], 0
mov dword [esp + 0x1f], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x435998
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x18]
lea edx, [eax - 0x27b75188]
lea esi, [eax + 0x78]
or esi, edx
and esi, ecx
not ecx
or ecx, edx
add esi, ecx
neg esi
add eax, esi
add eax, 0xd848ae77
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
add al, 0xb8
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x18], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x435950
mov eax, dword [0x447094]
test eax, eax
je 0x4359ea
mov ecx, dword [esp + 0x18]
xor edx, edx
mov esi, dword [0x447098]
nop
nop
nop
cmp dword [esi + edx*8], 0xe23f8252
je 0x4359c0
inc edx
cmp eax, edx
jne 0x4359b0
jmp 0x4359ea
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x4359ea
push 0x8000
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push 4
push dword [0x44709c]
push eax
call fcn.004366c0
add esp, 0x1c
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10