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

Disassembly:
push 0xffffffffffffffff
push 0x59ba59
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 1
mov byte [esp + 0x17], 1
call fcn.00496d90
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
mov byte [esp + 0x7c], 2
call fcn.004992d0
mov esi, dword [esp + 0x44]
test esi, esi
mov edi, dword [ebx + 4]
je 0x4a9ad3
cmp esi, ebx
je 0x4a9ad8
call fcn.0055d776
mov ebp, dword [esp + 0x48]
cmp ebp, edi
je 0x4a9f14
test esi, esi
jne 0x4a9aed
call fcn.0055d776
cmp ebp, dword [esi + 4]
jne 0x4a9af7
call fcn.0055d776
add ebp, 0x10
push ebp
lea ecx, [esp + 0x20]
call fcn.004971d0
xor edi, edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 3
mov dword [esp + 0x28], edi
call fcn.00496eb0
test eax, eax
jbe 0x4a9eff
push edi
lea ecx, [esp + 0x20]
call fcn.00497240
cmp al, 0x25
jne 0x4a9eb1
push 0x5a8554
lea ecx, [esp + 0x28]
call fcn.00496da0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
mov bl, 1
lea esi, [edi + 1]
call fcn.00496eb0
cmp esi, eax
jae 0x4a9bd6
jmp 0x4a9b60
push esi
lea ecx, [esp + 0x20]
call fcn.00497240
cmp al, 0x25
je 0x4a9c5d
push esi
lea ecx, [esp + 0x20]
call fcn.00497240
cmp al, 0x30
jl 0x4a9b8e
push esi
lea ecx, [esp + 0x20]
call fcn.00497240
cmp al, 0x39
jle 0x4a9b90
xor bl, bl
push esi
lea ecx, [esp + 0x20]
call fcn.00497240
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x24]
push eax
push edx
call fcn.00497620
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 5
call fcn.00497360
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 4
call fcn.00497320
lea ecx, [esp + 0x1c]
add esi, 1
call fcn.00496eb0
cmp esi, eax
jb 0x4a9b60
lea ecx, [esp + 0x1c]
call fcn.00496ed0
push eax
lea ecx, [esp + 0x84]
call fcn.00496ed0
push eax
push str.Non_matched_percent_____escape_found_in_string__s___s
call fcn.004dfae0
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.00496eb0
test eax, eax
jne 0x4a9c65
push 0x5b458c
lea ecx, [esp + 0x34]
call fcn.00496da0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 6
call fcn.004974a0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 7
call fcn.00497360
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 6
call fcn.00497320
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 4
call fcn.00497320
jmp 0x4a9e9d
mov dword [esp + 0x28], esi
mov edi, esi
jmp 0x4a9bfa
test bl, bl
je 0x4a9df0
lea ecx, [esp + 0x24]
call fcn.00496ed0
push eax
call fcn.0055e717
add esp, 4
cmp eax, 1
jl 0x4a9e98
cmp eax, dword [esp + 0x84]
ja 0x4a9e98
mov edx, dword [esp + 0x88]
lea eax, [edx + eax*4 - 4]
push eax
lea ecx, [esp + 0x24]
call fcn.004971d0
push 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 8
call fcn.00497240
cmp al, 0x25
lea ecx, [esp + 0x20]
je 0x4a9cdf
push ecx
lea ecx, [esp + 0x1c]
call fcn.00498060
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call fcn.00497320
jmp 0x4a9e9d
call fcn.00496eb0
cmp eax, 2
lea ecx, [esp + 0x20]
jne 0x4a9d3e
push 1
call fcn.00497240
cmp al, 0x25
jne 0x4a9dd8
push 0x5b458c
lea ecx, [esp + 0x38]
call fcn.00496da0
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 9
call fcn.00498060
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 8
call fcn.00497320
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call fcn.00497320
jmp 0x4a9e9d
call fcn.00496eb0
sub eax, 1
push eax
lea ecx, [esp + 0x24]
call fcn.00497240
cmp al, 0x25
jne 0x4a9dd8
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00496eb0
sub eax, 1
push eax
lea ecx, [esp + 0x28]
call fcn.00498490
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.00498490
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call fcn.004992d0
mov edx, dword [esi + 4]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], esi
call fcn.00498f60
test al, al
je 0x4a9dd8
lea ecx, [esp + 0x54]
call fcn.00498f90
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.00498060
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 4
call fcn.00497320
jmp 0x4a9e9d
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], 0
mov byte [esp + 0x74], 4
call fcn.00497320
jmp 0x4a9e9d
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 4]
mov esi, dword [eax + 4]
cmp byte [esi + 0x15], 0
mov edi, eax
jne 0x4a9e22
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0xc]
call fcn.00497300
test al, al
je 0x4a9e18
mov esi, dword [esi + 8]
jmp 0x4a9e1c
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0x15], 0
je 0x4a9e02
cmp edi, dword [ebx + 4]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebx
je 0x4a9e46
add edi, 0xc
push edi
lea ecx, [esp + 0x28]
call fcn.00497300
test al, al
jne 0x4a9e46
lea eax, [esp + 0x5c]
jmp 0x4a9e55
mov edx, dword [ebx + 4]
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], ebx
lea eax, [esp + 0x64]
mov esi, dword [eax]
test esi, esi
mov edi, dword [eax + 4]
mov ebp, dword [ebx + 4]
je 0x4a9e65
cmp esi, ebx
je 0x4a9e6a
call fcn.0055d776
cmp edi, ebp
je 0x4a9e94
test esi, esi
jne 0x4a9e77
call fcn.0055d776
cmp edi, dword [esi + 4]
jne 0x4a9e81
call fcn.0055d776
add edi, 0x10
push edi
lea ecx, [esp + 0x1c]
call fcn.00498060
mov edi, dword [esp + 0x28]
jmp 0x4a9e9d
mov edi, dword [esp + 0x28]
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 3
call fcn.00497320
mov ebx, dword [esp + 0x2c]
jmp 0x4a9ee7
push edi
lea ecx, [esp + 0x20]
call fcn.00497240
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00497620
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x78], 0xa
call fcn.00497360
lea ecx, [esp + 0x44]
mov byte [esp + 0x74], 3
call fcn.00497320
add edi, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], edi
call fcn.00496eb0
cmp edi, eax
jb 0x4a9b20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 2
call fcn.00497320
cmp byte [esp + 0x17], 0
jne 0x4a9f46
cmp byte [ebx + 0xc], 0
jne 0x4a9f34
lea ecx, [esp + 0x80]
call fcn.00496ed0
push eax
push str.__:_Missing_string_for_label__s
call fcn.004dfae0
add esp, 8
mov esi, dword [esp + 0x7c]
push 0x5b455c
mov ecx, esi
call fcn.00496da0
jmp 0x4a9fb8
push ecx
mov ecx, esp
mov dword [esp + 0x88], esp
push str.stringtest
call fcn.00496da0
call fcn.00401000
add esp, 4
test al, al
je 0x4a9fa8
lea ecx, [esp + 0x18]
call fcn.00496eb0
mov edi, eax
xor esi, esi
test edi, edi
jle 0x4a9fa8
jmp 0x4a9f80
push esi
lea ecx, [esp + 0x1c]
call fcn.00497240
cmp al, 0x20
je 0x4a9fa1
push 0
push 1
push 0x5a8dc4
push esi
lea ecx, [esp + 0x28]
call fcn.00497fb0
add esi, 1
cmp esi, edi
jl 0x4a9f80
mov esi, dword [esp + 0x7c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.004971d0
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 1
mov byte [esp + 0x74], 1
call fcn.00497320
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], 0
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10