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

Disassembly:
sub esp, 0x60
mov eax, dword [0x100ae380]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
mov ebx, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x6c]
inc esi
push edi
mov edi, dword [esp + 0x78]
cmp esi, ebx
jne 0x1007d83c
push str.invalid_format_string
jmp 0x1007da66
mov al, byte [esi]
cmp al, 0x7d
jne 0x1007d899
mov ecx, dword [edi + 8]
test ecx, ecx
js 0x1007d86d
push esi
lea eax, [ecx + 1]
push ecx
mov ecx, edi
mov dword [edi + 8], eax
call fcn.10084180
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10087516
add esp, 0x60
ret
push str.cannot_switch_from_manual_to_automatic_argument_indexing
mov ecx, edi
call fcn.10083aa0
xor ecx, ecx
push esi
push ecx
mov ecx, edi
call fcn.10084180
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10087516
add esp, 0x60
ret
cmp al, 0x7b
jne 0x1007d8be
lea eax, [esi + 1]
mov ecx, edi
push eax
push esi
call fcn.100841f0
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10087516
add esp, 0x60
ret
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edi
push eax
push ebx
push esi
mov dword [esp + 0x24], 0
call fcn.1007c920
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1007da61
mov al, byte [esi]
cmp al, 0x7d
jne 0x1007d90a
push esi
push dword [esp + 0x1c]
mov ecx, edi
call fcn.10084180
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10087516
add esp, 0x60
ret
cmp al, 0x3a
jne 0x1007da61
lea ecx, [esi + 1]
mov eax, ecx
mov dword [esp + 0x10], ecx
sub eax, dword [edi]
push ebp
push dword [esp + 0x1c]
mov dword [edi], ecx
lea ebp, [edi + 0x10]
sub dword [edi + 4], eax
lea ecx, [ebp + 8]
lea eax, [esp + 0x1c]
push eax
call fcn.100832e0
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x1007d957
push str.argument_not_found
lea eax, [esp + 0x17]
mov ecx, ebp
push eax
call fcn.100826d0
mov ecx, eax
call fcn.10083aa0
lea eax, [esi - 1]
cmp eax, 0xe
ja case.0x1007d966.1
movzx eax, byte [eax + 0x1007da90]
jmp dword [eax*4 + 0x1007da84]
push ebp
push edi
push dword [esp + 0x20]
call dword [esp + 0x28]
mov esi, dword [edi]
jmp 0x1007da38
and dword [esp + 0x60], 0xffffff80
lea eax, [esp + 0x54]
and byte [esp + 0x64], 0xfe
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push ebx
push dword [esp + 0x1c]
mov dword [esp + 0x71], 0
mov byte [esp + 0x75], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0xffffffff
mov byte [esp + 0x68], 0
mov byte [esp + 0x71], 0x20
mov byte [esp + 0x75], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
call fcn.1007d140
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x1007d9e9
cmp byte [esi], 0x7d
je 0x1007d9f5
push str.missing__in_format_string
mov ecx, edi
call fcn.10083aa0
mov eax, esi
mov dword [esp + 0x48], ebp
sub eax, dword [edi]
mov dword [edi], esi
sub dword [edi + 4], eax
mov eax, dword [ebp]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x50], edi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x58], 0
push eax
call fcn.1007edb0
add esp, 0xc
pop ebp
cmp esi, ebx
je 0x1007da5a
cmp byte [esi], 0x7d
jne 0x1007da5a
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.10087516
add esp, 0x60
ret
push str.unknown_format_specifier
jmp 0x1007da66
push str.missing__in_format_string
mov ecx, edi
call fcn.10083aa0
mov ecx, dword [esp + 0x68]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10087516
add esp, 0x60
ret