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

Disassembly:
push 0xffffffffffffffff
push 0x4d0758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov al, byte [esp + 0x54]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov byte [esp + 0x34], al
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [ecx + 0x784]
mov dword [esp + 0x5c], ebx
call fcn.00440900
push eax
lea ecx, [esp + 0x38]
call fcn.00444dc0
mov eax, dword [esp + 0x38]
cmp eax, ebx
jne 0x472f87
xor ebp, ebp
jmp 0x472f90
mov ebp, dword [esp + 0x3c]
sub ebp, eax
sar ebp, 2
xor edi, edi
cmp ebp, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], edi
jle 0x47317c
jmp 0x472fa8
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edi*4]
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push edx
mov ecx, dword [eax]
push 0x4d53d8
push eax
call dword [ecx]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x47316f
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
push edx
push str.object
push eax
mov byte [esp + 0x68], 1
call dword [ecx + 0xbc]
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
jne 0x473001
mov byte [esp + 0x5c], bl
jmp 0x47316f
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov edx, dword [eax]
push ecx
push eax
mov word [esp + 0x4c], 3
call dword [edx + 0x24]
mov edx, dword [esp + 0x28]
lea esi, [edx - 1]
cmp esi, ebx
jl 0x47315d
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
jne 0x473048
push 0x80004003
call fcn.0049ba48
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov ebp, dword [esp + 0x48]
push edx
mov ecx, dword [eax]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], edi
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x74]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebp
mov ebp, dword [esp + 0x6c]
mov edx, esp
push eax
mov dword [edx], edi
mov dword [edx + 4], ebp
mov ebp, dword [esp + 0x78]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebp
call dword [ecx + 0x2c]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x47314e
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4d5458
push eax
call dword [ecx]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x47314e
push eax
call fcn.004443b0
add esp, 4
test eax, eax
je 0x47314e
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x60], 2
call fcn.00446ac0
cmp eax, ebx
jge 0x4730ed
cmp eax, 0x80004002
je 0x4730ed
push eax
call fcn.0049ba48
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x473131
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
call dword [ecx + 0x20]
cmp eax, ebx
jl 0x473131
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x473131
add eax, 0xc
push str.D27CDB6E_AE6D_11cf_96B8_444553540000
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4731b1
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 1
cmp eax, ebx
je 0x47314e
mov edx, dword [eax]
push eax
call dword [edx + 8]
dec esi
jns 0x47302a
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x5c], bl
cmp eax, ebx
je 0x47316f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
cmp edi, ebp
mov dword [esp + 0x30], edi
jl 0x472fa4
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 4
call fcn.00445020
mov edx, dword [esp + 0x38]
push edx
call fcn.0049bb1b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 4
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push ecx
mov dword [edx], eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 1
cmp eax, ebx
je 0x4731d9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x5c], bl
cmp eax, ebx
je 0x4731eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 3
call fcn.00445020
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004846b0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0049bb1b
add esp, 4
mov eax, 1
jmp 0x47319c