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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0x78]
test esi, esi
sete byte [esp + 0x34]
cmp ebx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
jne 0x435480
cmp byte [esp + 0x34], 0
je 0x435480
test ebp, ebp
je 0x4355a0
lea eax, [ebx + ebp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea edi, [ebx + esi]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004352a0
add esi, ebp
js 0x435870
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 0xf
jle 0x435442
mov eax, ebx
mov edx, esi
sar eax, 1
neg edx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
lea edi, [eax + ebp]
shl eax, 2
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 0x4c], ecx
add eax, edx
mov edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.00430770
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp], eax
mov dword [esp + 0x44], eax
call fcn.00430770
mov edx, dword [esp + 0x48]
lea edx, [edx + edx*2]
lea eax, [eax + edx + 4]
cmp eax, 8
ja case.default.0x43550e
mov ecx, dword [esp + 0x4c]
jmp dword [eax*4 + 0x52a140]
mov eax, 1
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x34], 0
je 0x435610
cmp dword [esp + 0x38], 8
jne 0x435610
test ebp, ebp
jne 0x435610
test eax, eax
lea ebp, [ebx*4]
je 0x4358a0
mov eax, dword [esp + 0x28]
mov edx, 0x40
lea esi, [eax + ebp]
test esi, 1
mov edi, esi
jne 0x43590d
test edi, 2
jne 0x4358fc
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x43558c
xor ecx, ecx
add edi, 2
mov word [edi - 2], cx
and edx, 1
je 0x435594
mov byte [edi], 0
mov edi, esi
jmp 0x4358bd
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00433870
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.00434e70
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.00434e70
xor eax, eax
cmp byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jne 0x43552d
lea esi, [esi]
mov edi, dword [esp + 0x28]
test eax, eax
lea eax, [ebx*4]
mov dword [esp + 0x48], eax
lea edi, [edi + ebx*8]
mov dword [esp + 0x34], edi
jne 0x435850
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, edx
add edi, eax
mov eax, dword [esp + 0x34]
add ecx, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, edi
call fcn.00435400
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], 0
call fcn.00435400
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
call fcn.00435400
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00433610
mov dword [esp + 0xc], ebx
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x435830
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00433740
sub esi, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00433610
add esi, eax
je 0x435474
add ebx, dword [esp + 0x38]
lea edx, [ebp + ebx*4]
mov eax, dword [edx]
add eax, esi
cmp esi, eax
mov dword [edx], eax
jbe 0x435474
add edx, 4
add dword [edx], 1
je 0x435746
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.00434e70
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.00434e70
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x435522
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.00434e70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00434e70
xor eax, eax
mov dword [esp + 0x3c], 0
jmp 0x435522
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.00434e70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.00434e70
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x435522
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00433610
add esi, eax
jmp 0x43570a
mov edi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
add edi, eax
mov dword [esp], edi
call sub.msvcrt.dll_memset
jmp 0x435662
mov eax, dword [esp + 0x20]
add ebx, edi
neg esi
add ebx, ebp
shl esi, 2
mov dword [esp + 0x78], esi
lea eax, [eax + ebx*4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_memset
mov esi, dword [esp + 0x28]
mov eax, esi
add eax, dword [esp + 0x2c]
lea edi, [esi + ebp]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00433870
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], esi
add ebp, esi
mov dword [esp + 4], eax
call fcn.00433870
mov eax, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00433870
jmp 0x4356c2
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x435575
mov byte [esi], 0
lea edi, [esi + 1]
mov dl, 0x3f
jmp 0x435569