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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x34], 0xffffffff
jne 0x402353
push 0
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
call dword [sym.imp.MSVCRT.dll_rand]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x30], 0
jle 0x402351
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x34], 0
jmp 0x40237e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x30], 0
jle 0x40237e
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x34]
add edx, 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov eax, dword [ecx + 0x34]
cdq
idiv dword [esi + 0x30]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x30], 0
jg 0x40238e
xor al, al
jmp 0x4025f4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.00408590
mov dword [ebp - 8], eax
jmp 0x4023ae
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004085b0
cmp dword [ebp - 8], eax
je 0x4025f2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x34]
jne 0x4025e4
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4025e4
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx + 0xc]
test edx, edx
je 0x40241f
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0x14]
cdq
idiv dword [ecx + 0x30]
neg edx
sbb edx, edx
inc edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x24]
sub ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x24], 0
jg 0x40241f
xor al, al
jmp 0x4025f4
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov byte [ecx + 0xc], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xc], 1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 0x5c]
mov byte [eax + 0x5c], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x44], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
mov dword [eax + 0x40], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
mov dword [eax + 0x38], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x3c]
mov dword [eax + 0x3c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x50], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x78]
mov dword [ecx + 0x78], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4c]
mov dword [ecx + 0x4c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x48]
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x64
mov edx, dword [ebp - 0x10]
add edx, 0x34
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x34
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x10]
add eax, 0x2c
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2c
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 8]
add ecx, 0x58
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x58
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x10]
add edx, 0x30
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x30
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x10]
add eax, 0x70
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x70
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x68
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x10]
add edx, 0x6c
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x6c
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x10]
add eax, 0x54
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x54
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x64
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [ebp - 0x10]
add edx, 0x60
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x60
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x10]
add eax, 0x74
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x74
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x28]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + 0x14]
mov byte [ecx + 0x14], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x14]
add edx, 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], edx
mov al, 1
jmp 0x4025f4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x4023a5
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4