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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
movsx eax, byte [edx]
test eax, eax
je 0x41218d
cmp dword [ebp + 0xc], 0
je 0x41218d
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
cmp edx, 0x25
je 0x411a80
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x2c]
add ecx, 1
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
sub edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x412188
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx + 1]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x30
jne 0x411ad3
mov dword [ebp - 0x34], 0x42ed64
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx + 1]
push edx
call fcn.0040ef11
add esp, 4
test eax, eax
je 0x411ad1
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + 1]
sub ecx, 0x30
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
jmp 0x411ada
mov dword [ebp - 0x34], 0x42ed6c
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0x79
ja case.0x411b01.22
mov ecx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [ecx + 0x4121fc]
jmp dword [eax*4 + 0x4121a0]
jmp 0x411a2a
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 + 0x94]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411b37
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4 + 0x94]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 + 0x78]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411b85
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4 + 0x78]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 + 0x3c]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411bd0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4 + 0x3c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411c1a
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov dword [ebp - 0x30], 3
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0xc]
jbe 0x411c52
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
mov ecx, dword [eax*4 + 0x42eb00]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jbe 0x411c9f
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x10]
add ecx, 1
push ecx
push str._03d
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411ce6
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 8]
add eax, 1
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411d2c
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x411d6f
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xc
jge 0x411da4
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0x28], 0
jmp 0x411db7
mov edx, dword [ebp + 0x18]
mov dword [edx + 0x28], 1
mov eax, dword [ebp - 0x28]
sub eax, 0xc
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x411dc4
mov dword [ebp - 0x28], 0xc
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jbe 0x411dea
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jbe 0x411e2d
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jbe 0x411e70
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 4], 3
jg 0x411e9f
cmp dword [ebp - 4], 1
jge 0x411ea8
mov dword [ebp - 4], 3
jmp 0x411ed2
cmp dword [ebp - 4], 2
jne 0x411ebe
mov eax, dword [ebp - 0x28]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x28], eax
jmp 0x411ed2
cmp dword [ebp - 4], 1
jne 0x411ed2
mov eax, dword [ebp - 0x28]
cdq
mov ecx, 0x64
idiv ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 4]
push eax
push str._0d
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0xc]
jbe 0x411efd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp + 0x14]
cmp dword [eax + edx*4 + 0xb0], 0
je 0x411f76
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x28]
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + edx*4 + 0xb0]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0xc]
jbe 0x411f54
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 0x28]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + eax*4 + 0xb0]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov ecx, dword [ebp - 0x2c]
movsx edx, byte [ecx]
xor eax, eax
cmp edx, 0x55
sete al
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call fcn.00412276
add esp, 0xc
push eax
push 0x42ed80
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jbe 0x411fca
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x14]
push ecx
push 0x42ed88
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x41200e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
add ecx, 1
push ecx
push str._02d__02d__04d
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x412063
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
push str._04d
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0xc]
jbe 0x4120a7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 4]
cdq
mov ecx, 0x64
idiv ecx
push edx
push str._02d
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jbe 0x4120f3
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp case.0x411b01.22
mov dword [ebp - 0x30], 1
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp + 0xc]
jbe 0x412121
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
jmp 0x412127
mov ecx, dword [ebp - 8]
mov byte [ecx], 0x25
jmp case.0x411b01.22
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x18]
push eax
call fcn.00412d18
add esp, 8
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x42edac
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp + 0xc]
jbe case.0x411b01.22
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0x30]
mov dword [ebp + 0xc], eax
jmp 0x411a2a
cmp dword [ebp + 0xc], 0
je 0x412199
mov ecx, dword [ebp - 8]
mov byte [ecx], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret