Function at 0x39c63e0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x3a33564
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x1ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x1c4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1d4]
mov ecx, dword [esp + 0x1dc]
mov ebx, dword [esp + 0x1ec]
mov edx, dword [esp + 0x1e0]
mov edi, dword [esp + 0x1f4]
mov ebp, dword [esp + 0x1f0]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0x54]
lea esi, [ecx + eax - 1]
dec eax
not eax
and esi, eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x34], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x28], esi
call fcn.039efdc0
mov dword [esp + 0x1cc], 0
movzx eax, word [ebx + 6]
test eax, eax
jbe 0x39c64ac
lea ecx, [ebp + 0x10]
test dword [ecx + 0x14], 0x10000000
je 0x39c64a0
mov edx, dword [ebx + 0x3c]
mov ebp, dword [ecx]
lea ebp, [edx + ebp - 1]
dec edx
not edx
and ebp, edx
add esi, ebp
add ecx, 0x28
sub eax, 1
jne 0x39c6487
mov dword [esp + 0x28], esi
push 4
mov byte [esp + 0x23], 0
call fcn.0393d940
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x1cc], 1
test eax, eax
je 0x39c64d7
lea edx, [esp + 0x4c]
mov dword [eax], edx
jmp 0x39c64d9
xor eax, eax
mov byte [esp + 0x1cc], 0
mov dword [esp + 0x4c], eax
mov byte [esp + 0x1cc], 3
lea eax, [esp + 0x1f]
push eax
push esi
lea ecx, [esp + 0x54]
call fcn.03937980
mov byte [esp + 0x1cc], 4
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x14], ebp
cmp ebp, dword [esp + 0x5c]
jbe 0x39c6517
call fcn.03a01b13
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x39c6680
call fcn.03a01b13
xor eax, eax
cmp ebp, dword [eax + 0x10]
jb 0x39c6534
call fcn.03a01b13
lea ecx, [esp + 0x108]
call fcn.039efdc0
mov byte [esp + 0x1cc], 5
push 0
push 0
push edi
call fcn.03986600
mov edx, dword [ebx + 0x54]
lea ecx, [esp + 0x2c]
push ecx
push edx
push ebp
push edi
call fcn.0398beb0
add esp, 0x1c
test eax, eax
je 0x39c6a3f
mov eax, dword [esp + 0x20]
cmp eax, dword [ebx + 0x54]
jne 0x39c6a3f
push ebp
call dword [0x3a5fdb8]
mov edi, eax
test edi, edi
je 0x39c6a3f
movzx ecx, word [edi + 0x14]
mov edx, dword [ebx + 0x54]
lea eax, [ecx + edi + 0x18]
add edx, ebp
mov dword [esp + 0x18], eax
cmp eax, edx
jae 0x39c6a3f
movzx eax, word [edi + 0x16]
movzx edx, ax
or eax, 0x2000
mov word [edi + 0x16], ax
movzx eax, word [edi + 0x5e]
xor ecx, ecx
mov dword [esp + 0x24], edx
movzx edx, ax
and eax, 0xffbf
push 0x80
mov word [edi + 0x5e], ax
push ecx
lea eax, [edi + 0x78]
push eax
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], ecx
mov dword [esp + 0x38], edx
call fcn.03a01b70
mov ecx, dword [ebx + 0x54]
xor edx, edx
add esp, 0xc
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], 0
cmp dx, word [edi + 6]
jae 0x39c66e5
mov esi, dword [esp + 0x18]
add esi, 0x10
mov ebp, dword [esi + 0x14]
test ebp, 0x10000000
je 0x39c6687
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x48]
push 0
push eax
push ecx
call fcn.03986600
mov eax, dword [esi]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x58]
push eax
add ecx, ebp
push ecx
push edx
call fcn.0398beb0
add esp, 0x1c
test eax, eax
je 0x39c6a3f
mov ecx, dword [esi]
cmp dword [esp + 0x20], ecx
jne 0x39c6a3f
mov dword [esi + 4], ebp
mov eax, dword [ebx + 0x3c]
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
add ebp, ecx
mov dword [esp + 0x44], ebp
jmp 0x39c66c5
mov eax, dword [eax]
jmp 0x39c652a
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
push edi
call fcn.039c2c20
and ebp, 0xffffff3f
mov dword [esi - 8], eax
xor eax, eax
or ebp, 0x80000000
xor ecx, ecx
add esp, 0xc
xor edx, edx
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 0x14], ebp
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov word [esi + 0x10], cx
mov word [esi + 0x12], dx
mov eax, dword [esp + 0x30]
movzx ecx, word [edi + 6]
inc eax
add esi, 0x28
mov dword [esp + 0x30], eax
cmp eax, ecx
jb 0x39c661a
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
call fcn.0394f4a0
mov ebx, eax
mov eax, dword [0x3a56b80]
mov edx, ebx
neg edx
sbb edx, edx
not edx
and edx, eax
push edx
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], eax
call fcn.039efbb0
mov eax, dword [esp + 0x18]
push eax
push ebx
lea ecx, [esp + 0x6c]
call fcn.039efdd0
mov ecx, dword [0x3a56b80]
push ecx
push 0x3a3bf98
lea ecx, [esp + 0x6c]
call fcn.039efdd0
mov edx, dword [esp + 0x64]
push 0
push edx
call dword [0x3a5fe3c]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1b0]
push ecx
push esi
push ebp
mov dword [esp + 0x50], 0x14
call fcn.039f7c60
add esp, 0x10
test al, al
je 0x39c6a3f
cmp dword [esp + 0x40], 0x10
jb 0x39c6a3f
mov edx, dword [0x3a56b80]
push edx
push 0x3a3bf94
lea ecx, [esp + 0x6c]
call fcn.039efe30
xor esi, esi
movzx eax, byte [esp + esi + 0x1ac]
push eax
lea ecx, [esp + 0x68]
push 0x3a3bf8c
push ecx
call fcn.039f0800
inc esi
add esp, 0xc
cmp esi, 0x14
jb 0x39c6783
mov edx, dword [0x3a56b80]
push edx
push str..SharedTA
lea ecx, [esp + 0x6c]
call fcn.039efe30
mov ebp, dword [0x3a5fdb0]
mov dword [esp + 0x18], 0
jmp 0x39c67d0
mov eax, dword [esp + 0x64]
push 0
push 0x80
push 3
push 0
push 1
push 0xa0000000
push eax
call ebp
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x39c68fa
mov ecx, dword [esp + 0x64]
mov eax, dword [0x3a56b80]
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
lea ecx, [esp + 0x10c]
mov esi, eax
call fcn.039efbb0
push esi
push 0
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x114]
call fcn.039eff20
call dword [0x3a5fdd8]
push eax
call dword [0x3a5fd98]
push eax
lea eax, [esp + 0x110]
push str.._x._x
push eax
call fcn.039f0800
mov ecx, dword [esp + 0x118]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call ebp
mov esi, eax
cmp esi, ebx
je 0x39c6a3f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
push 0
lea edx, [esp + 0x24]
push edx
push eax
push ecx
push esi
call dword [0x3a5fe38]
push esi
test eax, eax
je 0x39c6a3a
call dword [0x3a5fd90]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x108]
push edx
push eax
call dword [0x3a5fe34]
test eax, eax
jne 0x39c68e3
mov ecx, dword [esp + 0x108]
push ecx
call dword [0x3a5fd7c]
mov esi, dword [0x3a56b80]
push 0
lea ecx, [esp + 0x10c]
call fcn.039efbb0
push esi
push 0x3a3ad58
lea ecx, [esp + 0x110]
call fcn.039efdd0
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x39c67d0
jmp 0x39c6a3f
mov edx, dword [esp + 0x1e8]
mov eax, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
push ebx
push edx
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x1e4]
push ecx
push edx
push eax
push ebp
call dword [0x3a5fe10]
test dword [esp + 0x24], 0x2000
mov ecx, eax
mov dword [esp + 0x34], ecx
je 0x39c6943
test byte [esp + 0x2c], 0x40
jne 0x39c6943
xor al, al
jmp 0x39c6945
mov al, 1
test ecx, ecx
jl 0x39c69f2
test al, al
je 0x39c69f2
sub edi, dword [esp + 0x14]
push 8
push 0
push 2
lea esi, [edi + 0x16]
lea edx, [esp + 0x44]
push edx
add edi, 0x62
push 0
mov ecx, edi
sub ecx, esi
push 0
add ecx, 0xfff
push 0
lea eax, [esp + 0x30]
and ecx, 0xfffff000
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x58], ecx
call dword [0x3a5fdb4]
mov ecx, dword [ebp]
push eax
push ecx
call dword [0x3a5fe0c]
test eax, eax
jl 0x39c69f2
mov edx, dword [esp + 0x14]
mov ebp, dword [0x3a5fd88]
lea eax, [esp + 0x3c]
push eax
push 8
add esi, edx
push 2
push esi
call ebp
mov cx, word [esp + 0x24]
lea eax, [esp + 0x3c]
push eax
mov word [esi], cx
mov edx, dword [esp + 0x18]
push 8
lea esi, [edx + edi - 4]
push 4
push esi
call ebp
mov ecx, dword [esp + 0x2c]
mov dword [esi], ecx
mov edx, dword [esp + 0x14]
push edx
call dword [0x3a5fdb4]
push eax
call dword [0x3a5fe40]
push ebx
call fcn.0398a3b0
mov byte [esp + 0x1cc], 4
lea ecx, [esp + 0x108]
call fcn.039ef660
mov byte [esp + 0x1cc], 0
lea ecx, [esp + 0x4c]
call fcn.03999990
mov dword [esp + 0x1cc], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.039ef660
mov eax, dword [esp + 0x34]
jmp 0x39c6abf
call fcn.0398a3b0
xor esi, esi
cmp dword [esp + 0x10c], esi
je 0x39c6a58
mov eax, dword [esp + 0x108]
push eax
call dword [0x3a5fd7c]
mov byte [esp + 0x1cc], 4
lea ecx, [esp + 0x108]
call fcn.039ef660
mov byte [esp + 0x1cc], 6
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x39c6a85
push eax
call fcn.0393d9e0
add esp, 4
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x1cc], 0
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.0393d9e0
add esp, 4
mov dword [esp + 0x1cc], 0xffffffff
lea ecx, [esp + 0x64]
call fcn.039ef660
mov eax, 0xc0000022
mov ecx, dword [esp + 0x1c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1ac]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x1bc
ret