Function at 0x1004f228
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a5ada
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100bc210]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x100bc210]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x1000c9a4
lea eax, [esp + 0x4c]
push eax
mov esi, ecx
mov dword [esp + 0x44], edi
call fcn.1005f361
and dword [esp + 0x80], 0
lea eax, [esp + 0x50]
push eax
mov eax, dword [esi + 0x18]
add eax, 0x18
call fcn.1003abec
mov byte [esp + 0x80], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.10084ad6
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esi + 0x18]
mov eax, dword [eax + 0xd4]
push ecx
sub eax, 0x10
mov dword [esp + 0x44], esp
mov ebx, esp
call fcn.10084ad6
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi + 0xc]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 8]
push 0x1000dd34
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x2c]
call fcn.1005fd4e
mov byte [esp + 0x80], 4
mov eax, dword [eax]
mov edi, dword [esi + 0x14]
lea ecx, [esp + 0x48]
push ecx
push eax
push 0x1000ca00
lea eax, [esp + 0x60]
push eax
call fcn.10026605
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esi]
lea ecx, [esp + 0x60]
push ecx
mov ecx, esi
call dword [eax + 0x10]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi + 0x18]
add eax, 0x18
call fcn.1003ac0b
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 7
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x134]
test ecx, ecx
jne 0x1004f366
push 6
jmp 0x1004f38a
xor edi, edi
inc edi
cmp ecx, edi
jne 0x1004f371
push 3
jmp 0x1004f38a
cmp ecx, 3
jne 0x1004f37a
push 0xb
jmp 0x1004f38a
cmp ecx, 5
je 0x1004f38b
cmp ecx, 4
jne 0x1004f860
push 2
pop edi
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x1004f398
xor eax, eax
inc eax
jmp 0x1004f39e
push eax
call fcn.1004f15f
mov ebx, dword [esi + 0x10]
push edi
push eax
push 3
push dword [esp + 0x20]
call fcn.1007573e
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.10084b37
push dword [esp + 0x3c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov edi, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
lea eax, [edi + 1]
mov dword [esi + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push dword [0x100c68d4]
call fcn.1002aec9
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x84], 8
mov eax, dword [esi + 0x18]
add eax, 0x18
call fcn.1003ac0b
mov byte [esp + 0x80], 9
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
cmp ecx, ebx
jle 0x1004f424
and ecx, 0xffff
or ecx, 0x80070000
push edi
push dword [esp + 0x18]
push ecx
push ebx
push ebx
push eax
push dword [esi + 0x10]
call fcn.10062009
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.10084b37
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esi]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [0x100bcf90]
mov edi, 0x100bcf90
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x18]
mov byte [esp + 0x80], 0xb
push eax
mov eax, dword [esi + 0x18]
call fcn.1003d210
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov eax, dword [esp + 0x18]
sete byte [esp + 0x2b]
add eax, 0xfffffff0
call fcn.10084b37
cmp byte [esp + 0x2b], 0
je 0x1004f531
mov eax, dword [0x100bcf90]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x84], 0xc
mov eax, dword [esi + 0x18]
add eax, 0x18
call fcn.1003abec
mov byte [esp + 0x80], 0xd
push dword [eax]
lea eax, [esp + 0x1c]
push 0x1000dd70
push eax
call fcn.100847a7
mov byte [esp + 0x8c], 0xc
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10084b37
mov ebx, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push 4
call dword [eax + 4]
mov byte [esp + 0x80], 0xb
lea eax, [ebx - 0x10]
jmp 0x1004f5dd
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
call fcn.10050346
cmp dword [esp + 0x34], ebx
jle 0x1004f5e4
push 0x1000ddd8
lea eax, [esp + 0x1c]
push eax
call fcn.1005f361
mov byte [esp + 0x80], 0xe
push dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push 4
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x14], eax
jmp 0x1004f58d
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esi + 0x14]
cmp eax, ebx
jl 0x1004f670
cmp eax, dword [esp + 0x34]
jge 0x1004f670
mov edx, dword [esp + 0x30]
lea ebx, [edx + eax*4]
mov eax, dword [ebx]
mov edx, dword [ecx]
push eax
push 4
call dword [edx + 4]
mov ebx, dword [ebx]
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
push ebx
push 6
call dword [eax + 4]
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x34]
jl 0x1004f587
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10084b37
xor ebx, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x1004f6a5
sub eax, 0x645
je 0x1004f696
sub eax, 0x24
je 0x1004f68b
sub eax, 6
je 0x1004f696
sub eax, 0x553
je 0x1004f680
dec eax
je 0x1004f675
mov dword [esp + 0x14], ebx
mov byte [esp + 0x80], 0xf
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.1002805a
push dword [esp + 0x14]
lea eax, [esp + 0x20]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0x1000e000
push eax
call fcn.100847a7
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
add esp, 0x14
push dword [esp + 0x1c]
push 7
call dword [eax + 4]
mov byte [esp + 0x80], 0xb
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1004f6c9
call fcn.10083247
push dword [esp + 0x24]
push 0x1000df08
jmp 0x1004f6ae
push dword [esp + 0x24]
push 0x1000deb8
jmp 0x1004f6ae
push dword [esp + 0x24]
push 0x1000dfc0
jmp 0x1004f6ae
push dword [esp + 0x24]
mov dword [esp + 0x24], ebx
push 0x1000de00
jmp 0x1004f6ae
push dword [esp + 0x24]
push 0x1000de90
lea eax, [esp + 0x24]
push eax
call fcn.100847a7
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx]
add esp, 0xc
push dword [esp + 0x1c]
push 7
call dword [eax + 4]
mov eax, dword [0x100bcf90]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x80], 0x10
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x34], ebx
jle 0x1004f757
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jl 0x1004f670
cmp eax, dword [esp + 0x34]
jge 0x1004f670
push dword [esi + 0x14]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
call fcn.100500d2
mov byte [esp + 0x80], 0x11
mov eax, dword [eax]
mov ecx, dword [esi + 0x14]
mov edx, dword [ecx]
push eax
push 7
call dword [edx + 4]
mov byte [esp + 0x80], 0x10
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
call fcn.10084b37
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
cmp eax, dword [esp + 0x34]
jl 0x1004f6f4
cmp byte [esi + 4], 0
je 0x1004f788
mov eax, dword [esp + 0x20]
call fcn.10028eae
test al, al
je 0x1004f788
mov edi, dword [esi]
call fcn.10028802
push eax
mov ecx, esi
call dword [edi + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
mov eax, dword [esi]
mov ecx, esi
jmp 0x1004f7ee
mov eax, dword [esp + 0x20]
call fcn.10028eae
test al, al
jne 0x1004f7e8
mov eax, dword [0x100bcf90]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x80], 0x12
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push dword [esp + 0x30]
push 0x1000e040
push eax
call fcn.100847a7
mov esi, dword [esi + 0x14]
mov edi, dword [esp + 0x28]
mov eax, dword [esi]
add esp, 0x10
push edi
push ebx
mov ecx, esi
call dword [eax + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x80], 0x10
call fcn.10084b37
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
push dword [esp + 0x20]
call dword [eax + 0xc]
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
call fcn.10084b37
lea esi, [esp + 0x30]
call fcn.10072bbb
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10084b37
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x84], 3
call fcn.10026646
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10084b37
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10084b37
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.10086de1
mov esp, ebp
pop ebp
ret 4
push 0x100aacc8
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0x80004001
call fcn.1008e3d9
int3