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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10097a03
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x100ae210]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x100ae210]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0x1000c9f4
lea eax, [esp + 0x4c]
push eax
mov esi, ecx
mov dword [esp + 0x44], edi
call fcn.1005833e
and dword [esp + 0x80], 0
lea eax, [esp + 0x50]
push eax
mov eax, dword [esi + 0x18]
add eax, 0x18
call fcn.10036cb7
mov byte [esp + 0x80], 1
mov eax, dword [eax]
sub eax, 0x10
call fcn.10078eab
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x80], 3
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
call fcn.10078f0e
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.10078eab
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 0x1000d97c
lea eax, [esp + 0x1c]
push eax
lea edi, [esp + 0x2c]
call fcn.10058cd5
mov byte [esp + 0x80], 4
mov eax, dword [eax]
mov edi, dword [esi + 0x14]
lea ecx, [esp + 0x48]
push ecx
push eax
push 0x1000ca50
lea eax, [esp + 0x60]
push eax
call fcn.1002391d
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
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.10036cd8
mov dword [esp + 0x14], eax
mov byte [esp + 0x80], 7
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + 0xf4]
test ecx, ecx
jne 0x10049d63
push 6
jmp 0x10049d87
xor edi, edi
inc edi
cmp ecx, edi
jne 0x10049d6e
push 3
jmp 0x10049d87
cmp ecx, 3
jne 0x10049d77
push 0xb
jmp 0x10049d87
cmp ecx, 5
je 0x10049d88
cmp ecx, 4
jne 0x1004a25d
push 2
pop edi
mov eax, dword [esi + 0xc]
cmp eax, 2
jne 0x10049d95
xor eax, eax
inc eax
jmp 0x10049d9b
push eax
call fcn.10049b54
mov ebx, dword [esi + 0x10]
push edi
push eax
push 3
push dword [esp + 0x20]
call fcn.1006adda
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.10078f0e
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 [0x100b8468]
call fcn.10027f33
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.10036cd8
mov byte [esp + 0x80], 9
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
cmp ecx, ebx
jle 0x10049e21
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.1005af7d
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.10078f0e
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
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 [0x100aee70]
mov edi, 0x100aee70
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.1003923a
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
mov eax, dword [esp + 0x18]
sete byte [esp + 0x2b]
add eax, 0xfffffff0
call fcn.10078f0e
cmp byte [esp + 0x2b], 0
je 0x10049f2e
mov eax, dword [0x100aee70]
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.10036cb7
mov byte [esp + 0x80], 0xd
push dword [eax]
lea eax, [esp + 0x1c]
push 0x1000d9b8
push eax
call fcn.10078b7a
mov byte [esp + 0x8c], 0xc
mov eax, dword [esp + 0x20]
add esp, 0xc
add eax, 0xfffffff0
call fcn.10078f0e
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 0x10049fda
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.1004ad57
cmp dword [esp + 0x34], ebx
jle 0x10049fe1
push 0x1000da20
lea eax, [esp + 0x1c]
push eax
call fcn.1005833e
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 0x10049f8a
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esi + 0x14]
cmp eax, ebx
jl 0x1004a06d
cmp eax, dword [esp + 0x34]
jge 0x1004a06d
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 0x10049f84
mov byte [esp + 0x80], 0xb
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.10078f0e
xor ebx, ebx
mov eax, dword [esp + 0x2c]
sub eax, ebx
je 0x1004a0a2
sub eax, 0x645
je 0x1004a093
sub eax, 0x24
je 0x1004a088
sub eax, 6
je 0x1004a093
sub eax, 0x553
je 0x1004a07d
dec eax
je 0x1004a072
mov dword [esp + 0x14], ebx
mov byte [esp + 0x80], 0xf
push dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.10025349
push dword [esp + 0x14]
lea eax, [esp + 0x20]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push 0x1000dc48
push eax
call fcn.10078b7a
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 0x1004a0c6
call fcn.100778c8
push dword [esp + 0x24]
push 0x1000db50
jmp 0x1004a0ab
push dword [esp + 0x24]
push 0x1000db00
jmp 0x1004a0ab
push dword [esp + 0x24]
push 0x1000dc08
jmp 0x1004a0ab
push dword [esp + 0x24]
mov dword [esp + 0x24], ebx
push 0x1000da48
jmp 0x1004a0ab
push dword [esp + 0x24]
push 0x1000dad8
lea eax, [esp + 0x24]
push eax
call fcn.10078b7a
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 [0x100aee70]
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 0x1004a154
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
jl 0x1004a06d
cmp eax, dword [esp + 0x34]
jge 0x1004a06d
push dword [esi + 0x14]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x50]
push eax
call fcn.1004aae3
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.10078f0e
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
add dword [esp + 0x18], 4
cmp eax, dword [esp + 0x34]
jl 0x1004a0f1
cmp byte [esi + 4], 0
je 0x1004a185
mov eax, dword [esp + 0x20]
call fcn.1002605c
test al, al
je 0x1004a185
mov edi, dword [esi]
call fcn.100259a2
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 0x1004a1eb
mov eax, dword [esp + 0x20]
call fcn.1002605c
test al, al
jne 0x1004a1e5
mov eax, dword [0x100aee70]
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 0x1000dc88
push eax
call fcn.10078b7a
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.10078f0e
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.10078f0e
lea esi, [esp + 0x30]
call fcn.1006657a
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.10078f0e
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x84], 3
call fcn.1002395e
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.10078f0e
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
call fcn.10078f0e
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.1007b091
mov esp, ebp
pop ebp
ret 4
push 0x1009be68
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], 0x80004001
call fcn.100814aa
int3