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

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1002a2c6
mov ebp, dword [sym.imp.msvcrt.dll_strlen]
push esi
call ebp
inc eax
push eax
call dword [sym.imp.msvcrt.dll_malloc]
mov ebx, eax
add esp, 8
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x1002a2c6
push edi
push esi
push ebx
call dword [sym.imp.msvcrt.dll_strcpy]
add esp, 8
mov esi, ebx
mov edi, dword [sym.imp.msvcrt.dll_strchr]
push 0x2c
push esi
call edi
mov ebx, eax
push 0x22
push esi
mov dword [esp + 0x28], ebx
call edi
add esp, 0x10
test eax, eax
je 0x10029e9c
cmp eax, ebx
jae 0x10029e9c
inc eax
push 0x22
push eax
call edi
add esp, 8
jmp 0x10029e9e
xor eax, eax
test ebx, ebx
je 0x10029ec0
cmp eax, ebx
jbe 0x10029eb9
inc eax
push 0x2c
push eax
call edi
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x10029ec0
mov byte [ebx], 0
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x10029eca
cmp al, 9
jne 0x10029ecd
inc esi
jmp 0x10029ec0
push esi
call ebp
add esp, 4
test eax, eax
je 0x10029efc
lea ecx, [esi - 1]
mov edx, 1
add ecx, eax
sub edx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x10029ef1
cmp al, 9
je 0x10029ef1
cmp al, 0xd
jne 0x10029efc
mov byte [ecx], 0
dec ecx
lea eax, [edx + ecx]
test eax, eax
jne 0x10029ee3
mov ecx, esi
mov edx, str.PROGRAM_ID
mov edi, 7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10029f48
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10029f08
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10029f48
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10029f48
mov eax, dword [esp + 0x1c]
add eax, 0x18
push eax
lea eax, [esi + 0xb]
push 0x100575b4
push eax
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
jmp 0x1002a2a6
cmp dword [esi], 0x444e4142
jne 0x10029fda
cmp dword [esi + 4], 0x54444957
jne 0x10029fda
cmp word [esi + 8], 0x3d48
jne 0x10029fda
add esi, 0xa
cmp byte [esi], 0x22
jne 0x10029f6e
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10029f80
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10029fc7
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x28], 0
add esp, 4
test ebx, ebx
jle 0x10029fcb
lea eax, [ebx + 1]
cmp dword [edi + 0x24], eax
jae 0x10029fad
push eax
lea ecx, [edi + 0x1c]
call fcn.100035c0
test eax, eax
je 0x10029fcb
mov eax, dword [edi + 0x1c]
push ebx
push esi
mov dword [edi + 0x20], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002a2a6
mov byte [edi + 0x28], 0
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], 0
jmp 0x1002a2a3
cmp dword [esi], 0x45444f43
jne 0x1002a069
cmp word [esi + 4], 0x5343
jne 0x1002a069
cmp byte [esi + 6], 0x3d
jne 0x1002a069
add esi, 7
cmp byte [esi], 0x22
jne 0x10029ffd
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x1002a00f
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x1002a056
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x38], 0
add esp, 4
test ebx, ebx
jle 0x1002a05a
lea eax, [ebx + 1]
cmp dword [edi + 0x34], eax
jae 0x1002a03c
push eax
lea ecx, [edi + 0x2c]
call fcn.100035c0
test eax, eax
je 0x1002a05a
mov eax, dword [edi + 0x2c]
push ebx
push esi
mov dword [edi + 0x30], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002a2a6
mov byte [edi + 0x38], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], 0
jmp 0x1002a2a3
mov ecx, esi
mov edx, str.RESOLUTION
mov edi, 7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1002a10f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1002a075
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x1002a10f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002a10f
add esi, 0xb
cmp byte [esi], 0x22
jne 0x1002a0a3
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x1002a0b5
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x1002a0fc
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x48], 0
add esp, 4
test ebx, ebx
jle 0x1002a100
lea eax, [ebx + 1]
cmp dword [edi + 0x44], eax
jae 0x1002a0e2
push eax
lea ecx, [edi + 0x3c]
call fcn.100035c0
test eax, eax
je 0x1002a100
mov eax, dword [edi + 0x3c]
push ebx
push esi
mov dword [edi + 0x40], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002a2a6
mov byte [edi + 0x48], 0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], 0
jmp 0x1002a2a3
cmp dword [esi], 0x49445541
jne 0x1002a194
cmp word [esi + 4], 0x3d4f
jne 0x1002a194
add esi, 6
cmp byte [esi], 0x22
jne 0x1002a128
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x1002a13a
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x1002a181
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x58], 0
add esp, 4
test ebx, ebx
jle 0x1002a185
lea eax, [ebx + 1]
cmp dword [edi + 0x54], eax
jae 0x1002a167
push eax
lea ecx, [edi + 0x4c]
call fcn.100035c0
test eax, eax
je 0x1002a185
mov eax, dword [edi + 0x4c]
push ebx
push esi
mov dword [edi + 0x50], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002a2a6
mov byte [edi + 0x58], 0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x50], 0
jmp 0x1002a2a3
cmp dword [esi], 0x45444956
jne 0x1002a219
cmp word [esi + 4], 0x3d4f
jne 0x1002a219
add esi, 6
cmp byte [esi], 0x22
jne 0x1002a1ad
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x1002a1bf
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x1002a206
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x68], 0
add esp, 4
test ebx, ebx
jle 0x1002a20a
lea eax, [ebx + 1]
cmp dword [edi + 0x64], eax
jae 0x1002a1ec
push eax
lea ecx, [edi + 0x5c]
call fcn.100035c0
test eax, eax
je 0x1002a20a
mov eax, dword [edi + 0x5c]
push ebx
push esi
mov dword [edi + 0x60], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002a2a6
mov byte [edi + 0x68], 0
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], 0
jmp 0x1002a2a3
cmp dword [esi], 0x54425553
jne 0x1002a2a6
cmp dword [esi + 4], 0x454c5449
jne 0x1002a2a6
cmp word [esi + 8], 0x3d53
jne 0x1002a2a6
add esi, 0xa
cmp byte [esi], 0x22
jne 0x1002a23f
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x1002a251
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x1002a295
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x78], 0
add esp, 4
test ebx, ebx
jle 0x1002a299
lea eax, [ebx + 1]
cmp dword [edi + 0x74], eax
jae 0x1002a27e
push eax
lea ecx, [edi + 0x6c]
call fcn.100035c0
test eax, eax
je 0x1002a299
mov eax, dword [edi + 0x6c]
push ebx
push esi
mov dword [edi + 0x70], ebx
push eax
mov byte [ebx + eax], 0
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x1002a2a6
mov byte [edi + 0x78], 0
mov eax, dword [edi + 0x6c]
mov dword [edi + 0x70], 0
mov byte [eax], 0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x1002a2b8
inc esi
cmp byte [esi], 0
jne 0x10029e70
push dword [esp + 0x10]
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8