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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10494
call fcn.0040b510
push ebx
push esi
push edi
push 7
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [esp + 0x78], bl
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [ebp + 0x10]
mov dword [esp + 0x28], ebx
push dword [ebp + 0xc]
call fcn.00406da7
test eax, eax
je 0x40740c
push dword [ebp + 0x10]
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0040a418
test eax, eax
je 0x4073fc
push ebx
mov eax, 0x40cb78
call fcn.00403a1f
pop ecx
push eax
push 0x20
mov eax, esi
push eax
call fcn.0040a47d
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x4073fc
mov ecx, esi
call fcn.0040a8ba
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], edi
jbe 0x4073fc
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
lea esi, [esp + 0x14]
mov dword [esp + 0x1c], ebx
call fcn.0040a8e1
test eax, eax
je 0x4073e9
push 0x403
lea eax, [esp + 0x9d]
push ebx
push eax
mov byte [esp + 0xa4], bl
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x24]
add esp, 0xc
push 0x3ff
lea edx, [esp + 0x9c]
mov ecx, esi
call fcn.0040a827
test eax, eax
je 0x4073e9
mov word [esp + 0x38], bx
xor eax, eax
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
push 0x40c407
stosd dword es:[edi], eax
push str.CurrVal
push dword [esp + 0x20]
stosd dword es:[edi], eax
mov eax, esi
push eax
lea ebx, [esp + 0x48]
call fcn.0040a660
test eax, eax
je 0x4073e7
mov esi, dword [esp + 0x1c]
cmp esi, 0x20
jne 0x40733e
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
add ebx, 0xffffffc4
push ebx
lea edi, [esi + 0x3c]
push edi
lea eax, [esi + 0x1c]
push eax
push 0x20
lea eax, [esp + 0x88]
push eax
call fcn.00406c47
test eax, eax
je 0x4073e7
lea eax, [esp + 0x98]
mov dword [esp + 0x48], eax
mov edi, dword [edi]
cmp edi, ebx
jae 0x4073e7
add esi, 0x4c
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
lea edx, [esp + 0x48]
jmp 0x4073df
push 0xffff
lea eax, [esp + 0x4a5]
push 0
push eax
mov byte [esp + 0x4ac], 0
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x50]
add eax, 0xc
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff4
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x4ac]
mov dword [esp + 0x3c], eax
mov eax, 0x10000
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x74]
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00406ff7
test eax, eax
jne 0x4073e7
lea eax, [esp + 0x98]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
lea edx, [esp + 0x60]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push edx
call dword [eax]
xor ebx, ebx
mov edi, dword [esp + 0x20]
inc edi
cmp edi, dword [esp + 0x34]
mov dword [esp + 0x20], edi
jb 0x407257
cmp dword [esp + 0x10], ebx
je 0x40740c
push dword [esp + 0x10]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc