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

Disassembly:
push 0xffffffffffffffff
push 0x3a29778
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x460]
mov eax, dword [esp + 0x458]
mov esi, dword [esp + 0x450]
mov ebx, dword [esp + 0x454]
mov ebp, dword [esp + 0x45c]
mov edi, dword [esp + 0x464]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x38], edi
call fcn.039d9be0
mov dword [esp + 0x448], 0
test ebx, ebx
sete byte [esp + 0x17]
mov byte [esp + 0x16], 0
test ebx, ebx
jne 0x3939a85
mov byte [esp + 0x16], 1
call dword [0x3a5fd64]
or dword [esi], 0x400
mov dword [esp + 0x34], eax
cmp eax, ebx
jne 0x3939a83
push ebx
push 2
lea ecx, [esp + 0x24]
call fcn.03937ad0
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.039f3df0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], ebx
call fcn.039f3df0
mov ebx, dword [esp + 0x34]
jmp 0x3939b87
mov ebx, eax
test dword [esi], 0x400
jne 0x3939b24
xor eax, eax
cmp byte [ebx + eax], 0
jne 0x3939aa0
cmp byte [ebx + eax + 1], 0
je 0x3939aa3
inc eax
jmp 0x3939a93
inc eax
push eax
push ebx
lea ecx, [esp + 0x50]
call fcn.039f0130
mov byte [esp + 0x448], 1
mov ecx, dword [esp + 0x4c]
inc ecx
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.03937ad0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov esi, eax
cmp eax, dword [esp + 0x2c]
jbe 0x3939ae1
call fcn.03a01b13
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x3939b20
call fcn.03a01b13
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x3939afa
call fcn.03a01b13
lea edx, [edi + edi + 2]
push edx
push ebp
push esi
call fcn.03a014a0
add esp, 0xc
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x48]
call fcn.039ef660
mov ebp, dword [esp + 0x18]
jmp 0x3939b83
mov eax, dword [eax]
jmp 0x3939af0
xor esi, esi
cmp word [ebx + esi*2], 0
jne 0x3939b35
cmp word [ebx + esi*2 + 2], 0
je 0x3939b38
inc esi
jmp 0x3939b26
push 0
add esi, 2
push esi
lea ecx, [esp + 0x24]
call fcn.03937ad0
mov eax, dword [esp + 0x28]
mov edi, eax
cmp eax, dword [esp + 0x2c]
jbe 0x3939b58
call fcn.03a01b13
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x3939dce
call fcn.03a01b13
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x3939b75
call fcn.03a01b13
lea eax, [esi + esi]
push eax
push ebx
push edi
call fcn.03a014a0
add esp, 0xc
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x48]
call fcn.039efdc0
mov byte [esp + 0x448], 2
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.039364d0
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.03938ee0
add esp, 0x10
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x48]
call fcn.039ef660
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.03938ee0
mov eax, dword [0x3a77f78]
sub eax, dword [0x3a77f74]
add esp, 8
sar eax, 2
xor esi, esi
test eax, eax
jbe 0x3939c23
cmp esi, eax
jb 0x3939bf9
call fcn.03a01b13
mov edx, dword [0x3a77f74]
mov eax, dword [edx + esi*4]
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.03938ee0
mov eax, dword [0x3a77f78]
sub eax, dword [0x3a77f74]
inc esi
sar eax, 2
add esp, 8
cmp esi, eax
jb 0x3939bf9
push ebp
lea ecx, [esp + 0x20]
push 0x3a3b57c
push ecx
call fcn.039375c0
push ebp
lea edx, [esp + 0x2c]
push str.TS_ORIGIN
push edx
call fcn.039375c0
call fcn.039342c0
push eax
lea eax, [esp + 0x38]
push str.TS_OPTIONS
push eax
call fcn.039375c0
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x44]
push str.TS_USER_SID
push edx
call fcn.039375c0
mov eax, dword [edi + 4]
push eax
lea ecx, [esp + 0x50]
push str.TS_TOKEN_INTEGRITY_LEVEL
push ecx
call fcn.039375c0
mov edx, dword [esp + 0x78]
add esp, 0x3c
test byte [edx], 3
je 0x3939ca0
push 0x3a3c130
lea eax, [esp + 0x20]
push str.TS_DEBUGGED
push eax
call fcn.039375c0
add esp, 0xc
lea ecx, [esp + 0x48]
call fcn.039efdc0
mov byte [esp + 0x448], 3
push 0x7fff
lea ecx, [esp + 0x4c]
call fcn.039efb00
push 0
lea ecx, [esp + 0x4c]
call fcn.039ef290
xor ecx, ecx
mov word [eax], cx
mov esi, dword [esp + 0x4c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.039ef290
push esi
mov esi, dword [0x3a5fdc0]
push eax
push str.TS_SVCINIT
call esi
test eax, eax
je 0x3939d07
mov edx, dword [esp + 0x48]
push edx
lea eax, [esp + 0x20]
push str.TS_SVCINIT
push eax
call fcn.039375c0
add esp, 0xc
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x48]
call fcn.039ef660
lea ecx, [esp + 0x190]
call fcn.039efdc0
mov byte [esp + 0x448], 4
lea ecx, [esp + 0xec]
call fcn.039efdc0
mov byte [esp + 0x448], 5
cmp byte [esp + 0x17], 0
jne 0x3939e4d
call fcn.0395a580
lea ecx, [esp + 0x48]
mov edi, eax
call fcn.039efdc0
mov byte [esp + 0x448], 6
push edi
lea ecx, [esp + 0x4c]
push str._ls_SANDBOX_DIR
push ecx
call fcn.039f08d0
mov eax, dword [esp + 0x54]
add esp, 0xc
push 0x104
lea edx, [esp + 0x238]
push edx
push eax
call esi
test eax, eax
je 0x3939dd5
mov ecx, dword [esp + 0x48]
push ecx
lea edx, [esp + 0x194]
push 0x3a3bfb0
push edx
call fcn.039f08d0
lea eax, [esp + 0x240]
push eax
lea ecx, [esp + 0xfc]
push 0x3a3bfb0
push ecx
call fcn.039f08d0
mov eax, dword [esp + 0x60]
lea edx, [esp + 0x24c]
push edx
push eax
jmp 0x3939e2b
mov eax, dword [eax]
jmp 0x3939b6b
push 0x104
lea edx, [esp + 0x238]
push edx
push str.THINSTALL_SANDBOX_DIR
call esi
test eax, eax
je 0x3939e38
push str.THINSTALL_SANDBOX_DIR
lea eax, [esp + 0x194]
push 0x3a3bfb0
push eax
call fcn.039f08d0
lea ecx, [esp + 0x240]
push ecx
lea edx, [esp + 0xfc]
push 0x3a3bfb0
push edx
call fcn.039f08d0
lea eax, [esp + 0x24c]
push eax
push str.THINSTALL_SANDBOX_DIR
lea ecx, [esp + 0x3c]
push ecx
call fcn.039375c0
add esp, 0x24
mov byte [esp + 0x448], 5
lea ecx, [esp + 0x48]
call fcn.039ef660
mov edi, dword [esp + 0x38]
mov esi, dword [0x3a5fdbc]
push ebp
push 0x3a3b57c
call esi
push ebp
push str.TS_ORIGIN
call esi
call fcn.039342c0
push eax
push str.TS_OPTIONS
call esi
mov edx, dword [edi]
push edx
push str.TS_USER_SID
call esi
mov eax, dword [edi + 4]
push eax
push str.TS_TOKEN_INTEGRITY_LEVEL
call esi
mov edi, dword [esp + 0x3c]
test byte [edi], 3
je 0x3939e9a
push 0x3a3c130
push str.TS_DEBUGGED
call esi
test byte [edi], 4
je 0x3939ec2
push 0x3a3c130
lea ecx, [esp + 0x20]
push str.TS_WAITINIT
push ecx
call fcn.039375c0
add esp, 0xc
push 0x3a3c130
push str.TS_WAITINIT
call esi
cmp byte [esp + 0x17], 0
jne 0x3939edb
mov edx, dword [esp + 0xec]
mov eax, dword [esp + 0x190]
push edx
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov esi, ecx
sub esi, eax
sar esi, 1
test dword [edi], 0x400
jne 0x3939f6b
mov edi, eax
cmp eax, ecx
jbe 0x3939efc
call fcn.03a01b13
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x3939f67
call fcn.03a01b13
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x3939f15
call fcn.03a01b13
push esi
push edi
lea ecx, [esp + 0x50]
call fcn.039f00c0
mov byte [esp + 0x448], 7
lea ecx, [esp + 0x48]
call fcn.039ef670
inc eax
push eax
call fcn.0393d960
add esp, 4
push 1
lea ecx, [esp + 0x4c]
mov edi, eax
call fcn.039ef670
inc eax
push eax
push edi
lea ecx, [esp + 0x54]
call fcn.039ef740
mov byte [esp + 0x448], 5
lea ecx, [esp + 0x48]
call fcn.039ef660
jmp 0x3939fbd
mov eax, dword [eax]
jmp 0x3939f0b
lea ebp, [esi + esi + 2]
push ebp
call fcn.0393d960
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov ebx, eax
cmp eax, dword [esp + 0x2c]
jbe 0x3939f8b
call fcn.03a01b13
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x393a031
call fcn.03a01b13
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x3939fa8
call fcn.03a01b13
push ebp
push ebx
push edi
call fcn.03a014a0
mov ebx, dword [esp + 0x40]
add esp, 0xc
xor ecx, ecx
mov word [edi + esi*2], cx
cmp byte [esp + 0x16], 0
je 0x3939fcb
push ebx
call dword [0x3a5fe48]
mov byte [esp + 0x448], 4
lea ecx, [esp + 0xec]
call fcn.039ef660
mov byte [esp + 0x448], 0
lea ecx, [esp + 0x190]
call fcn.039ef660
mov dword [esp + 0x448], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.03999990
mov eax, edi
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x438
ret
mov eax, dword [eax]
jmp 0x3939f9e