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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x438004]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov ebx, ecx
push str.test
push 0x100
push 0
mov ecx, dword [ebx + 0x160]
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebx + 0x160]
push str.test
push 0x1e
mov dword [ebx + 0x168], eax
mov eax, dword [ecx]
push 0xffffffffffffffff
push 1
call dword [eax + 0x68]
sub esp, 0x18
mov dword [ebx + 0x164], eax
mov ecx, ebx
call fcn.00403220
mov eax, dword [ebx + 0x15c]
mov esi, dword [sym.imp.vstdlib.dll_RandomInt]
push 0xff
push 0xbe
mov edi, dword [eax]
call esi
add esp, 8
push eax
push 0x64
push 0
call esi
add esp, 8
push eax
push 0x64
push 0
call esi
mov ecx, dword [ebx + 0x15c]
add esp, 8
push eax
call dword [edi + 0x190]
mov ecx, dword [ebx + 0x15c]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov eax, dword [ecx]
push 0
push 1
call dword [eax + 0x18c]
xor edi, edi
nop
mov ecx, dword [ebx + 0x168]
mov dword [esp + 0xec], ecx
mov dword [esp + 0x130], 0xffffffff
mov dword [esp + 0x134], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x94], 0xffffffff
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x403485
mov ecx, dword [esp + 0xec]
push 0
push 7
mov eax, dword [ecx]
call dword [eax + 0x10]
sub esp, 8
lea ecx, [esp + 0x50]
call fcn.00401ae0
movss xmm2, dword [0x432590]
mov eax, dword [esp + 0x100]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mov dword [eax + 4], 0xbf800000
mov dword [eax + 8], 0x3f000000
mulss xmm1, xmm2
subss xmm1, dword [0x4325a0]
movss dword [eax], xmm1
mov eax, dword [esp + 0x104]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x3f800000
mov eax, dword [0x43be44]
mov edx, eax
and edx, 0x80000003
jns 0x4034f4
dec edx
or edx, 0xfffffffc
inc edx
movzx ecx, byte [edx*4 + 0x4388c7]
lea esi, [eax + 1]
movzx eax, byte [edx*4 + 0x4388c4]
movaps xmm0, xmm1
shl ecx, 8
addss xmm0, xmm2
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c6]
shl ecx, 8
mov edx, esi
or ecx, eax
mov eax, dword [esp + 0x128]
mov dword [eax], ecx
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
inc ecx
cmp ecx, eax
mov dword [esp + 0xfc], ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x100]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x54]
add dword [esp + 0x104], eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x128], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x108], eax
mov eax, dword [esp + 0x64]
add dword [esp + 0x10c], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x110], eax
mov eax, dword [esp + 0x6c]
add dword [esp + 0x114], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x118], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x11c], eax
mov eax, dword [esp + 0x78]
add dword [esp + 0x120], eax
mov eax, dword [esp + 0x7c]
add dword [esp + 0x124], eax
mov dword [esp + 0x100], ecx
movss dword [ecx], xmm0
mov dword [ecx + 4], 0xbf800000
mov dword [ecx + 8], 0x3f000000
mov eax, dword [esp + 0x104]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x3f800000
and edx, 0x80000003
jns 0x403614
dec edx
or edx, 0xfffffffc
inc edx
movzx ecx, byte [edx*4 + 0x4388c7]
movzx eax, byte [edx*4 + 0x4388c4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c6]
shl ecx, 8
lea edx, [esi + 1]
or ecx, eax
mov eax, dword [esp + 0x128]
mov dword [eax], ecx
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
inc ecx
cmp ecx, eax
mov dword [esp + 0xfc], ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x100]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x54]
add dword [esp + 0x104], eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x128], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x108], eax
mov eax, dword [esp + 0x64]
add dword [esp + 0x10c], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x110], eax
mov eax, dword [esp + 0x6c]
add dword [esp + 0x114], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x118], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x11c], eax
mov eax, dword [esp + 0x78]
add dword [esp + 0x120], eax
mov eax, dword [esp + 0x7c]
add dword [esp + 0x124], eax
mov dword [esp + 0x100], ecx
movss dword [ecx], xmm0
mov dword [ecx + 4], 0x3f800000
mov dword [ecx + 8], 0x3f000000
mov eax, dword [esp + 0x104]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x3f800000
and edx, 0x80000003
jns 0x40372b
dec edx
or edx, 0xfffffffc
inc edx
movzx ecx, byte [edx*4 + 0x4388c7]
movzx eax, byte [edx*4 + 0x4388c4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c6]
shl ecx, 8
lea edx, [esi + 2]
or ecx, eax
mov eax, dword [esp + 0x128]
mov dword [eax], ecx
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0xf8]
inc ecx
cmp ecx, eax
mov dword [esp + 0xfc], ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x48]
add ecx, dword [esp + 0x100]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x54]
add dword [esp + 0x104], eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x128], eax
mov eax, dword [esp + 0x60]
add dword [esp + 0x108], eax
mov eax, dword [esp + 0x64]
add dword [esp + 0x10c], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x110], eax
mov eax, dword [esp + 0x6c]
add dword [esp + 0x114], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x118], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x11c], eax
mov eax, dword [esp + 0x78]
add dword [esp + 0x120], eax
mov eax, dword [esp + 0x7c]
add dword [esp + 0x124], eax
mov dword [esp + 0x100], ecx
movss dword [ecx], xmm1
mov dword [ecx + 4], 0x3f800000
mov dword [ecx + 8], 0x3f000000
mov eax, dword [esp + 0x104]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x3f800000
and edx, 0x80000003
jns 0x403842
dec edx
or edx, 0xfffffffc
inc edx
movzx ecx, byte [edx*4 + 0x4388c7]
lea eax, [esi + 3]
mov dword [0x43be44], eax
lea esi, [esp + 0x48]
movzx eax, byte [edx*4 + 0x4388c4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx*4 + 0x4388c6]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x128]
push esi
mov dword [eax], ecx
mov eax, dword [esp + 0x100]
mov edx, dword [esp + 0xfc]
inc eax
cmp eax, edx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x100], eax
cmovg edx, eax
mov eax, dword [esp + 0x4c]
add dword [esp + 0x104], eax
mov eax, dword [esp + 0x58]
add dword [esp + 0x108], eax
mov eax, dword [esp + 0x5c]
add dword [esp + 0x12c], eax
mov eax, dword [esp + 0x64]
add dword [esp + 0x10c], eax
mov eax, dword [esp + 0x68]
add dword [esp + 0x110], eax
mov eax, dword [esp + 0x6c]
add dword [esp + 0x114], eax
mov eax, dword [esp + 0x70]
add dword [esp + 0x118], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x11c], eax
mov eax, dword [esp + 0x78]
add dword [esp + 0x120], eax
mov eax, dword [esp + 0x7c]
add dword [esp + 0x124], eax
mov eax, dword [esp + 0x80]
add dword [esp + 0x128], eax
mov dword [esp + 0xfc], edx
mov eax, dword [ecx]
push edx
call dword [eax + 0x24]
mov ecx, dword [esp + 0xec]
mov edx, esi
push edx
push dword [esp + 0xfc]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x164]
mov eax, dword [esp + 0xf8]
add dword [esp + 0x12c], eax
inc dword [0x43be44]
mov dword [esp + 0xf4], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4039b7
mov ecx, dword [esp + 0x24]
push 0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14]
mov eax, dword [esp + 0x134]
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x30], eax
mov byte [esp + 0x44], 0
sete byte [esp + 0x13]
mov dword [esp + 0x28], 6
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], 0
mov eax, dword [ecx]
push edx
push 0
push 6
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x403a0b
mov dword [esp + 0x28], 0
jmp 0x403a22
cmp byte [esp + 0x13], 0
je 0x403a22
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x34]
lea esi, [esp + 0x14]
mov ecx, dword [esp + 0x14]
movzx eax, word [esp + 0x30]
push esi
mov word [ecx + edx*2], ax
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x18]
add ecx, 2
mov dword [esp + 0x38], edx
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x38], edx
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
add edx, eax
movzx eax, word [esp + 0x34]
mov dword [esp + 0x38], edx
mov word [ecx + edx*2], ax
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x18]
add ecx, 3
mov dword [esp + 0x38], edx
mov word [eax + edx*2], cx
mov edx, dword [esp + 0x38]
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x34]
add edx, eax
mov eax, dword [esp + 0x18]
add ecx, 2
mov dword [esp + 0x38], edx
mov word [eax + edx*2], cx
movzx eax, byte [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
add edx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x30], edx
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x24]
mov edx, esi
push edx
push dword [esp + 0x30]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [ebx + 0x15c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x38], eax
push 1
push 0
push 7
push dword [esp + 0x138]
mov dword [esp + 0x38], 0
push dword [esp + 0x144]
mov eax, dword [ecx]
push dword [esp + 0x144]
push dword [ebx + 0x168]
push 0
call dword [eax + 0x38c]
mov ecx, dword [ebx + 0x15c]
push dword [esp + 0x3c]
push dword [ebx + 0x164]
mov eax, dword [ecx]
call dword [eax + 0x390]
mov ecx, dword [ebx + 0x15c]
mov eax, dword [ecx]
push dword [esp + 0x38]
push dword [esp + 0x44]
push 2
call dword [eax + 0x394]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x403b84
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x403b84
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esp + 0xec]
test ecx, ecx
je 0x403ba6
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x403ba6
mov ecx, dword [esp + 0xec]
mov eax, dword [ecx]
call dword [eax + 0x14]
inc edi
cmp edi, 8
jl 0x403410
mov ecx, dword [ebx + 0x160]
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebx + 0x160]
push dword [ebx + 0x16c]
inc dword [0x43be44]
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebx + 0x160]
push dword [ebx + 0x170]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [ebx + 0x160]
push dword [ebx + 0x174]
mov eax, dword [ecx]
call dword [eax + 0x54]
mov edx, dword [ebx + 0x168]
mov dword [ebx + 0x16c], 0
mov dword [ebx + 0x170], 0
mov dword [ebx + 0x174], 0
test edx, edx
je 0x403c32
mov ecx, dword [ebx + 0x160]
push edx
mov eax, dword [ecx]
call dword [eax + 0x64]
mov dword [ebx + 0x168], 0
mov edx, dword [ebx + 0x164]
test edx, edx
je 0x403c52
mov ecx, dword [ebx + 0x160]
push edx
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov dword [ebx + 0x164], 0
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040de3d
mov esp, ebp
pop ebp
ret