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

Disassembly:
push 0xffffffffffffffff
push 0x5958aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c8
mov eax, dword [0x64b2d4]
push ebx
xor ebx, ebx
mov dword [esp + 0xc], ecx
cmp eax, ebx
je 0x549a1f
add ecx, 0x60
push ecx
mov dword [esp + 0x1c], ecx
call fcn.00470660
mov eax, dword [0x64b2d4]
add esp, 4
cmp eax, ebx
jne 0x549442
push 0x80004003
call fcn.00571280
mov ecx, dword [0x64b2d4]
push ebp
push esi
push edi
push 0x6a2e88
push 0x6a2e88
lea eax, [esp + 0x18]
push 0x1a
push eax
call fcn.00454450
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [esp + 0x4e0], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x549488
push 0x80004003
call fcn.00571280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1e]
push edx
push eax
mov esi, eax
call dword [ecx + 0x50]
cmp eax, ebx
jge 0x5494a5
push 0x5ffec8
push esi
push eax
call fcn.0057128e
cmp word [esp + 0x1e], bx
jne 0x549a06
push str.PROCEDURE_NAME
mov word [esp + 0x8c], 8
call fcn.0057132d
cmp eax, ebx
mov dword [esp + 0x90], eax
jne 0x5494e2
mov eax, str.PROCEDURE_NAME
test eax, eax
je 0x5494e2
push 0x8007000e
call fcn.00571280
mov eax, dword [esp + 0x10]
mov byte [esp + 0x4e0], 1
cmp eax, ebx
jne 0x5494fc
push 0x80004003
call fcn.00571280
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00427ff0
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x4e0], 2
cmp eax, ebx
jne 0x549524
push 0x80004003
call fcn.00571280
mov ecx, dword [esi]
lea edx, [esp + 0x88]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00428040
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x4e0], 3
cmp eax, ebx
jne 0x549552
push 0x80004003
call fcn.00571280
mov ecx, dword [esi]
lea edx, [esp + 0x98]
push edx
call fcn.0044c750
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x98]
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
call ebp
cmp eax, ebx
jge 0x54958c
push eax
call fcn.00571280
lea ecx, [esp + 0x3c]
call fcn.0044c470
lea ecx, [esp + 0x40]
call fcn.0044c470
lea edx, [esp + 0x88]
mov byte [esp + 0x4e0], bl
push edx
call ebp
cmp eax, ebx
jge 0x5495b9
push eax
call fcn.00571280
push esi
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x602220
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x4e4], 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xdc]
push ecx
push 1
call fcn.004a6d70
add esp, 0xc
cmp eax, ebx
jle 0x549615
mov byte [esp + eax + 0xd7], bl
mov edi, dword [esp + 0x18]
lea edx, [esp + 0xd8]
push edx
mov eax, dword [edi + 0x5f8]
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x5499e1
push str.PARAMETER_NAME
mov word [esp + 0x5c], 8
call fcn.0057132d
cmp eax, ebx
mov dword [esp + 0x60], eax
jne 0x549665
mov ecx, str.PARAMETER_NAME
test ecx, ecx
je 0x549665
push 0x8007000e
call fcn.00571280
mov eax, dword [esp + 0x10]
mov byte [esp + 0x4e0], 5
cmp eax, ebx
jne 0x54967f
push 0x80004003
call fcn.00571280
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x50]
push edx
call fcn.00427ff0
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x4e0], 6
cmp eax, ebx
jne 0x5496a7
push 0x80004003
call fcn.00571280
mov ecx, dword [esi]
lea eax, [esp + 0x58]
lea edx, [esp + 0x54]
push eax
push edx
call fcn.00428040
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x4e0], 7
cmp eax, ebx
jne 0x5496d2
push 0x80004003
call fcn.00571280
mov ecx, dword [esi]
lea eax, [esp + 0xc8]
push eax
call fcn.0044c750
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xc8]
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
call ebp
cmp eax, ebx
jge 0x54970c
push eax
call fcn.00571280
lea ecx, [esp + 0x54]
call fcn.0044c470
lea ecx, [esp + 0x50]
call fcn.0044c470
lea edx, [esp + 0x58]
mov byte [esp + 0x4e0], 4
push edx
call ebp
cmp eax, ebx
jge 0x549737
push eax
call fcn.00571280
push esi
lea ecx, [esp + 0x18]
call fcn.00552858
mov ecx, dword [edi + 0x188]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.0044dab0
add esp, 8
mov word [esp + 0x78], 8
push str.DATA_TYPE
call fcn.0057132d
cmp eax, ebx
mov dword [esp + 0x80], eax
jne 0x549787
mov eax, str.DATA_TYPE
test eax, eax
je 0x549787
push 0x8007000e
call fcn.00571280
mov eax, dword [esp + 0x10]
mov byte [esp + 0x4e0], 8
cmp eax, ebx
jne 0x5497a1
push 0x80004003
call fcn.00571280
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00427ff0
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x4e0], 9
cmp eax, ebx
jne 0x5497c9
push 0x80004003
call fcn.00571280
mov ecx, dword [esi]
lea edx, [esp + 0x78]
lea eax, [esp + 0x48]
push edx
push eax
call fcn.00428040
mov esi, eax
mov eax, dword [esi]
mov byte [esp + 0x4e0], 0xa
cmp eax, ebx
jne 0x5497f4
push 0x80004003
call fcn.00571280
mov ecx, dword [esi]
lea edx, [esp + 0xa8]
push edx
call fcn.0044c750
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0xa8]
push ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
call ebp
cmp eax, ebx
jge 0x54982e
push eax
call fcn.00571280
lea ecx, [esp + 0x48]
call fcn.0044c470
lea ecx, [esp + 0x38]
call fcn.0044c470
lea edx, [esp + 0x78]
mov byte [esp + 0x4e0], 4
push edx
call ebp
cmp eax, ebx
jge 0x549859
push eax
call fcn.00571280
mov edi, dword [esp + 0x24]
push 3
movsx eax, si
push edi
push eax
call fcn.0044d980
mov eax, dword [edi]
add esp, 0xc
mov ecx, edi
push 3
call dword [eax + 0x54]
cmp eax, 0x87
je 0x5498a7
cmp eax, 0x85
je 0x5498a7
cmp eax, 7
je 0x5498a7
cmp eax, 3
je 0x5498c4
cmp eax, 4
je 0x5498c4
mov ecx, dword [esp + 0x18]
push 0x605188
mov edx, dword [ecx + 0x188]
mov eax, dword [edx + 8]
push eax
jmp 0x5498bc
mov edx, dword [esp + 0x18]
mov ecx, dword [0x6658d4]
push ecx
mov eax, dword [edx + 0x188]
mov ecx, dword [eax + 8]
push ecx
call fcn.0044dab0
add esp, 8
push str.PARAMETER_TYPE
mov word [esp + 0x6c], 8
call fcn.0057132d
cmp eax, ebx
mov dword [esp + 0x70], eax
jne 0x5498f0
mov edx, str.PARAMETER_TYPE
test edx, edx
je 0x5498f0
push 0x8007000e
call fcn.00571280
mov eax, dword [esp + 0x10]
mov byte [esp + 0x4e0], 0xb
cmp eax, ebx
jne 0x54990a
push 0x80004003
call fcn.00571280
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
call fcn.00427ff0
lea ecx, [esp + 0x68]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, eax
mov byte [esp + 0x4e8], 0xc
call fcn.00427c50
mov ecx, eax
call fcn.00428040
lea ecx, [esp + 0xb8]
mov byte [esp + 0x4e0], 0xd
push ecx
mov ecx, eax
call fcn.00427c50
mov ecx, eax
call fcn.0044c750
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 0xc]
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
call ebp
cmp eax, ebx
jge 0x549981
push eax
call fcn.00571280
lea ecx, [esp + 0x44]
call fcn.0044c470
lea ecx, [esp + 0x4c]
call fcn.0044c470
lea ecx, [esp + 0x68]
mov byte [esp + 0x4e0], 4
push ecx
call ebp
cmp eax, ebx
jge 0x5499ac
push eax
call fcn.00571280
mov ecx, dword [esp + 0x20]
mov edx, ecx
inc ecx
test edx, edx
movsx eax, si
mov dword [esp + 0x20], ecx
jle 0x5499e1
push 4
push edi
push eax
call fcn.0044d980
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
add esp, 0xc
push eax
call fcn.00549340
push edi
call fcn.00470720
add esp, 4
lea ecx, [esp + 0x10]
call fcn.00427c50
mov ecx, eax
call fcn.004544e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x4e0], bl
call sub.MFC42.DLL_CString::CString
jmp 0x549472
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004706b0
add esp, 4
lea ecx, [esp + 0x10]
call fcn.0044c470
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x4cc]
pop ebx
mov dword fs:[0], ecx
add esp, 0x4d4
ret