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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100a35ae
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100b8210]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x100b8210]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x1000ca5c
lea eax, [esp + 0x4c]
push eax
mov esi, ecx
mov dword [esp + 0x44], edi
call fcn.1005e2c8
and dword [esp + 0x80], 0
lea eax, [esp + 0x50]
push eax
mov eax, dword [esi + 0x18]
add eax, 0x18
call fcn.1003a6d8
mov byte [esp + 0x80], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.10082a9f
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.10082afb
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.10082a9f
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 0x1000ddec
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x2c]
call fcn.1005ec33
mov byte [esp + 0x80], 4
mov eax, dword [eax]
mov edi, dword [esi + 0x14]
lea ecx, [esp + 0x48]
push ecx
push eax
push 0x1000cab8
lea eax, [esp + 0x60]
push eax
call fcn.10026b7f
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
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.1003a6f2
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 7
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0x134]
test ecx, ecx
jne 0x1004e768
push 6
jmp 0x1004e795
xor edi, edi
inc edi
cmp ecx, edi
jne 0x1004e773
push 3
jmp 0x1004e795
cmp ecx, 3
jne 0x1004e77c
push 0xb
jmp 0x1004e795
cmp ecx, 4
jne 0x1004e785
push 0x11
jmp 0x1004e795
cmp ecx, 6
je 0x1004e796
cmp ecx, 5
jne 0x1004ec6b
push 2
pop edi
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x1004e7a3
xor eax, eax
inc eax
jmp 0x1004e7a9
push eax
call fcn.1004e560
mov ebx, dword [esi + 0x10]
push edi
push eax
push 3
push dword [esp + 0x20]
call fcn.10073ff6
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.10082afb
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 [0x100c2b5c]
call fcn.1002b2b1
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.1003a6f2
mov byte [esp + 0x80], 9
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
cmp ecx, ebx
jle 0x1004e82f
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.10060e0d
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.10082afb
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
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 [0x100b8f90]
mov edi, 0x100b8f90
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.1003cc95
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov eax, dword [esp + 0x18]
sete byte [esp + 0x2b]
add eax, 0xfffffff0
call fcn.10082afb
cmp byte [esp + 0x2b], 0
je 0x1004e93c
mov eax, dword [0x100b8f90]
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.1003a6d8
mov byte [esp + 0x80], 0xd
push dword [eax]
lea eax, [esp + 0x1c]
push 0x1000de28
push eax
call fcn.100827bb
mov byte [esp + 0x8c], 0xc
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10082afb
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 0x1004e9e8
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.1004f712
cmp dword [esp + 0x34], ebx
jle 0x1004e9ef
push 0x1000de90
lea eax, [esp + 0x1c]
push eax
call fcn.1005e2c8
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 0x1004e998
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esi + 0x14]
cmp eax, ebx
jl 0x1004ea7b
cmp eax, dword [esp + 0x34]
jge 0x1004ea7b
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 0x1004e992
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10082afb
xor ebx, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x1004eab0
sub eax, 0x645
je 0x1004eaa1
sub eax, 0x24
je 0x1004ea96
sub eax, 6
je 0x1004eaa1
sub eax, 0x553
je 0x1004ea8b
dec eax
je 0x1004ea80
mov dword [esp + 0x14], ebx
mov byte [esp + 0x80], 0xf
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.1002857d
push dword [esp + 0x14]
lea eax, [esp + 0x20]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0x1000e0b8
push eax
call fcn.100827bb
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 0x1004ead4
call fcn.1008132d
push dword [esp + 0x24]
push 0x1000dfc0
jmp 0x1004eab9
push dword [esp + 0x24]
push 0x1000df70
jmp 0x1004eab9
push dword [esp + 0x24]
push 0x1000e078
jmp 0x1004eab9
push dword [esp + 0x24]
mov dword [esp + 0x24], ebx
push 0x1000deb8
jmp 0x1004eab9
push dword [esp + 0x24]
push 0x1000df48
lea eax, [esp + 0x24]
push eax
call fcn.100827bb
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 [0x100b8f90]
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 0x1004eb62
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jl 0x1004ea7b
cmp eax, dword [esp + 0x34]
jge 0x1004ea7b
push dword [esi + 0x14]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
call fcn.1004f4ad
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.10082afb
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
cmp eax, dword [esp + 0x34]
jl 0x1004eaff
cmp byte [esi + 4], 0
je 0x1004eb93
mov eax, dword [esp + 0x20]
call fcn.10029340
test al, al
je 0x1004eb93
mov edi, dword [esi]
call fcn.10028ce9
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 0x1004ebf9
mov eax, dword [esp + 0x20]
call fcn.10029340
test al, al
jne 0x1004ebf3
mov eax, dword [0x100b8f90]
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 0x1000e0f8
push eax
call fcn.100827bb
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.10082afb
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.10082afb
lea esi, [esp + 0x30]
call fcn.1006dcf6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10082afb
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x84], 3
call fcn.10026bbb
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10082afb
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10082afb
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.10084b58
mov esp, ebp
pop ebp
ret 4
push 0x100a73f0
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0x80004001
call fcn.1008bda4
int3