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

Disassembly:
push 0xffffffffffffffff
push 0x3a295d6
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x3a7682c]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov eax, dword [esp + 0x138]
mov ebp, dword [esp + 0x134]
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], eax
call fcn.039efdc0
xor edi, edi
mov dword [esp + 0x12c], edi
push edi
push edi
push 3
push edi
push 1
push 0x21
call fcn.039342a0
push eax
call dword [0x3a5fdb0]
mov esi, eax
push esi
push 0x1000000
push 0x10
push edi
push edi
push 0xf001f
lea ecx, [esp + 0x2c]
push ecx
call dword [0x3a5fe10]
cmp eax, edi
jl 0x393887b
push 0x20
push edi
push 2
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x64]
push eax
push edi
push edi
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x58], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x3c], edi
call dword [0x3a5fdb4]
mov edx, dword [esp + 0x34]
push eax
push edx
call dword [0x3a5fe0c]
cmp eax, edi
jge 0x3938887
mov eax, dword [esp + 0x14]
push eax
call dword [0x3a5fe44]
push esi
call dword [0x3a5fd90]
jmp 0x3938cbf
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x3a5fdb8]
mov edi, dword [eax + 0x50]
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], edi
call fcn.03937b80
mov byte [esp + 0x12c], 1
mov eax, dword [esp + 0x48]
mov ebx, eax
cmp eax, dword [esp + 0x4c]
jbe 0x39388bc
call fcn.03a01b13
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x3938b1c
call fcn.03a01b13
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x39388d9
call fcn.03a01b13
mov edx, dword [esp + 0x1c]
push edi
push edx
push ebx
call fcn.03a014a0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.03938710
mov eax, dword [esp + 0x5c]
add esp, 0x14
mov ebx, eax
mov dword [esp + 0x2c], ebx
cmp eax, dword [esp + 0x4c]
jbe 0x393890c
call fcn.03a01b13
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x3938b23
call fcn.03a01b13
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x3938929
call fcn.03a01b13
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push eax
call dword [0x3a5fe40]
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x3a5fe44]
push esi
call dword [0x3a5fd90]
push ebx
call dword [0x3a5fdb8]
mov edx, 3
mov word [eax + 0x5c], dx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x110]
push ecx
push edx
push ebx
mov dword [esp + 0x40], 0x14
call fcn.039f7c60
add esp, 0x10
test al, al
je 0x3938c85
cmp dword [esp + 0x30], 0x10
jb 0x3938c85
call fcn.0394f4a0
push eax
mov ecx, ebp
call fcn.039312f0
mov eax, dword [0x3a56b80]
push eax
push 0x3a3bf98
mov ecx, ebp
call fcn.039efdd0
mov eax, dword [ebp]
push 0
push eax
call dword [0x3a5fe3c]
mov ecx, dword [0x3a56b80]
push ecx
push 0x3a3bf94
mov ecx, ebp
call fcn.039efe30
xor esi, esi
movzx edx, byte [esp + esi + 0x10c]
push edx
push 0x3a3bf8c
push ebp
call fcn.039f0800
inc esi
add esp, 0xc
cmp esi, 0x14
jb 0x39389d1
mov eax, dword [0x3a56b80]
push eax
push str..Console.EXE
mov ecx, ebp
call fcn.039efe30
mov dword [esp + 0x28], 0
mov eax, dword [ebp]
push 0
push 0x80
push 3
push 0
push 1
push 0xa0000000
push eax
call dword [0x3a5fdb0]
mov edi, dword [esp + 0x24]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x3938b67
push eax
push 0x1000000
push 0x10
xor esi, esi
push esi
push esi
push 0xf001f
lea ecx, [esp + 0x2c]
push ecx
xor bl, bl
call dword [0x3a5fe10]
cmp eax, esi
jl 0x3938b54
push 0x20
push esi
push 2
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x6c]
push eax
push esi
push esi
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x40], esi
call dword [0x3a5fdb4]
mov edx, dword [esp + 0x34]
push eax
push edx
call dword [0x3a5fe0c]
cmp eax, esi
jl 0x3938b41
mov eax, dword [esp + 0x20]
push eax
call dword [0x3a5fdb8]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
cmp dword [eax + 0x50], ecx
jne 0x3938b31
mov esi, ecx
mov ecx, dword [esp + 0x2c]
mov edx, edi
cmp esi, 4
jb 0x3938ad5
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x3938ad9
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x3938ac1
test esi, esi
je 0x3938b2a
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x3938b14
cmp esi, 1
jbe 0x3938b2a
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x3938b14
cmp esi, 2
jbe 0x3938b2a
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x3938b14
cmp esi, 3
jbe 0x3938b2a
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
jmp 0x3938b2c
mov eax, dword [eax]
jmp 0x39388cf
mov eax, dword [eax]
jmp 0x393891f
xor eax, eax
test eax, eax
sete bl
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [0x3a5fe40]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push eax
call dword [0x3a5fe44]
test bl, bl
jne 0x3938c5c
mov ecx, dword [edi]
push ecx
call dword [0x3a5fd90]
mov ebx, dword [esp + 0x2c]
mov dword [edi], 0xffffffff
mov ecx, dword [0x3a56b80]
lea edx, [esp + 0x68]
mov esi, ecx
cmp edx, ebp
je 0x3938b97
mov eax, dword [ebp]
neg eax
sbb eax, eax
not eax
and eax, ecx
push eax
mov ecx, edx
call fcn.039efbb0
push esi
push 0
push ebp
lea ecx, [esp + 0x74]
call fcn.039eff20
call dword [0x3a5fdd8]
push eax
call dword [0x3a5fd98]
push eax
lea eax, [esp + 0x70]
push str.._x._x
push eax
call fcn.039f0800
mov ecx, dword [esp + 0x78]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call dword [0x3a5fdb0]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x3938c9c
mov ecx, dword [esp + 0x18]
push 0
lea edx, [esp + 0x68]
push edx
push ecx
push ebx
push eax
call dword [0x3a5fe38]
test eax, eax
je 0x3938c89
mov edx, dword [edi]
push edx
call dword [0x3a5fd90]
mov dword [edi], 0xffffffff
mov eax, dword [ebp]
push eax
mov eax, dword [esp + 0x6c]
push eax
call dword [0x3a5fe34]
test eax, eax
jne 0x3938c48
mov ecx, dword [esp + 0x68]
push ecx
call dword [0x3a5fd7c]
mov esi, dword [0x3a56b80]
push 0
lea ecx, [esp + 0x6c]
call fcn.039efbb0
push esi
push 0x3a3ad58
lea ecx, [esp + 0x70]
call fcn.039efdd0
mov eax, dword [esp + 0x28]
inc eax
cmp eax, 2
mov dword [esp + 0x28], eax
jl 0x3938a08
jmp 0x3938c89
mov byte [esp + 0x12c], 0
lea ecx, [esp + 0x3c]
call fcn.03999990
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.039ef660
mov al, 1
jmp 0x3938cd5
mov edi, dword [esp + 0x24]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x3938c9c
push eax
call fcn.0398a3b0
mov dword [edi], 0xffffffff
cmp dword [esp + 0x6c], 0
je 0x3938cae
mov edx, dword [esp + 0x68]
push edx
call dword [0x3a5fd7c]
mov byte [esp + 0x12c], 0
lea ecx, [esp + 0x3c]
call fcn.03999990
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [esp + 0x68]
call fcn.039ef660
xor al, al
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x11c
ret