Function at 0x10028960
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 0x10028df6
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 0x10028df6
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 0x100289cc
cmp eax, ebx
jae 0x100289cc
inc eax
push 0x22
push eax
call edi
add esp, 8
jmp 0x100289ce
xor eax, eax
test ebx, ebx
je 0x100289f0
cmp eax, ebx
jbe 0x100289e9
inc eax
push 0x2c
push eax
call edi
mov ebx, eax
add esp, 8
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x100289f0
mov byte [ebx], 0
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x20
je 0x100289fa
cmp al, 9
jne 0x100289fd
inc esi
jmp 0x100289f0
push esi
call ebp
add esp, 4
test eax, eax
je 0x10028a2c
lea ecx, [esi - 1]
mov edx, 1
add ecx, eax
sub edx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x10028a21
cmp al, 9
je 0x10028a21
cmp al, 0xd
jne 0x10028a2c
mov byte [ecx], 0
dec ecx
lea eax, [edx + ecx]
test eax, eax
jne 0x10028a13
mov ecx, esi
mov edx, str.PROGRAM_ID
mov edi, 7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10028a78
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10028a38
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10028a78
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10028a78
mov eax, dword [esp + 0x1c]
add eax, 0x18
push eax
lea eax, [esi + 0xb]
push 0x10055164
push eax
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
jmp 0x10028dd6
cmp dword [esi], 0x444e4142
jne 0x10028b0a
cmp dword [esi + 4], 0x54444957
jne 0x10028b0a
cmp word [esi + 8], 0x3d48
jne 0x10028b0a
add esi, 0xa
cmp byte [esi], 0x22
jne 0x10028a9e
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10028ab0
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10028af7
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x28], 0
add esp, 4
test ebx, ebx
jle 0x10028afb
lea eax, [ebx + 1]
cmp dword [edi + 0x24], eax
jae 0x10028add
push eax
lea ecx, [edi + 0x1c]
call fcn.10003580
test eax, eax
je 0x10028afb
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 0x10028dd6
mov byte [edi + 0x28], 0
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x20], 0
jmp 0x10028dd3
cmp dword [esi], 0x45444f43
jne 0x10028b99
cmp word [esi + 4], 0x5343
jne 0x10028b99
cmp byte [esi + 6], 0x3d
jne 0x10028b99
add esi, 7
cmp byte [esi], 0x22
jne 0x10028b2d
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10028b3f
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10028b86
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x38], 0
add esp, 4
test ebx, ebx
jle 0x10028b8a
lea eax, [ebx + 1]
cmp dword [edi + 0x34], eax
jae 0x10028b6c
push eax
lea ecx, [edi + 0x2c]
call fcn.10003580
test eax, eax
je 0x10028b8a
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 0x10028dd6
mov byte [edi + 0x38], 0
mov eax, dword [edi + 0x2c]
mov dword [edi + 0x30], 0
jmp 0x10028dd3
mov ecx, esi
mov edx, str.RESOLUTION
mov edi, 7
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10028c3f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10028ba5
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x10028c3f
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10028c3f
add esi, 0xb
cmp byte [esi], 0x22
jne 0x10028bd3
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10028be5
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10028c2c
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x48], 0
add esp, 4
test ebx, ebx
jle 0x10028c30
lea eax, [ebx + 1]
cmp dword [edi + 0x44], eax
jae 0x10028c12
push eax
lea ecx, [edi + 0x3c]
call fcn.10003580
test eax, eax
je 0x10028c30
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 0x10028dd6
mov byte [edi + 0x48], 0
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x40], 0
jmp 0x10028dd3
cmp dword [esi], 0x49445541
jne 0x10028cc4
cmp word [esi + 4], 0x3d4f
jne 0x10028cc4
add esi, 6
cmp byte [esi], 0x22
jne 0x10028c58
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10028c6a
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10028cb1
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x58], 0
add esp, 4
test ebx, ebx
jle 0x10028cb5
lea eax, [ebx + 1]
cmp dword [edi + 0x54], eax
jae 0x10028c97
push eax
lea ecx, [edi + 0x4c]
call fcn.10003580
test eax, eax
je 0x10028cb5
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 0x10028dd6
mov byte [edi + 0x58], 0
mov eax, dword [edi + 0x4c]
mov dword [edi + 0x50], 0
jmp 0x10028dd3
cmp dword [esi], 0x45444956
jne 0x10028d49
cmp word [esi + 4], 0x3d4f
jne 0x10028d49
add esi, 6
cmp byte [esi], 0x22
jne 0x10028cdd
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10028cef
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10028d36
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x68], 0
add esp, 4
test ebx, ebx
jle 0x10028d3a
lea eax, [ebx + 1]
cmp dword [edi + 0x64], eax
jae 0x10028d1c
push eax
lea ecx, [edi + 0x5c]
call fcn.10003580
test eax, eax
je 0x10028d3a
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 0x10028dd6
mov byte [edi + 0x68], 0
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], 0
jmp 0x10028dd3
cmp dword [esi], 0x54425553
jne 0x10028dd6
cmp dword [esi + 4], 0x454c5449
jne 0x10028dd6
cmp word [esi + 8], 0x3d53
jne 0x10028dd6
add esi, 0xa
cmp byte [esi], 0x22
jne 0x10028d6f
inc esi
push esi
call ebp
add esp, 4
cmp byte [eax + esi - 1], 0x22
jne 0x10028d81
mov byte [eax + esi - 1], 0
mov edi, dword [esp + 0x1c]
test esi, esi
je 0x10028dc5
push esi
call ebp
mov ebx, eax
mov byte [edi + 0x78], 0
add esp, 4
test ebx, ebx
jle 0x10028dc9
lea eax, [ebx + 1]
cmp dword [edi + 0x74], eax
jae 0x10028dae
push eax
lea ecx, [edi + 0x6c]
call fcn.10003580
test eax, eax
je 0x10028dc9
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 0x10028dd6
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 0x10028de8
inc esi
cmp byte [esi], 0
jne 0x100289a0
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