Function at 0x49fa40
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4ade90
mov eax, dword fs:[0]
push eax
sub esp, 0x39c
mov eax, dword [0x4c75d0]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c75d0]
xor eax, esp
push eax
lea eax, [esp + 0x3b0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c0]
xor ebx, ebx
mov edi, 1
cmp ebp, ebx
je 0x49fd7f
cmp byte [ebp], bl
je 0x49fd7f
cmp dword [0x4ed6f8], ebx
je 0x49fad1
call fcn.004a1320
lea eax, [esp + 0x18]
push eax
push ebx
push 2
push 0x4a0250
push ebx
push ebx
mov dword [0x4ed6fc], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x190
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xf4
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x3b8], ebx
cmp eax, ebx
je 0x49fafc
push eax
call fcn.00449240
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x49fb02
mov dword [esp + 0x1c], ebx
mov esi, ebx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3bc], 0xffffffff
mov ecx, ebp
mov dword [esp + 0x1c], ebx
call fcn.004488a0
test eax, eax
je 0x49fc74
cmp dword [esp + 0x18], ebx
jne 0x49fc7e
mov edx, dword [0x4ee004]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1b4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov edx, str.Enter_password_to_open_ADX...
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x80
mov dword [esp + 0x2c], edx
call fcn.00401250
lea ebx, [esp + 0x20]
call fcn.00477520
test eax, eax
je 0x49fbb0
mov edx, dword [esp + 0x24]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49fb86
push 0
push 0
push 0x80
sub eax, edi
sar eax, 1
lea ecx, [esp + 0x40]
push ecx
inc eax
push eax
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
lea edi, [esp + 0x18]
mov ecx, 0x80
lea edx, [esp + 0x34]
mov dword [esp + 0x18], ebx
call fcn.0049ed30
xor ecx, ecx
cmp eax, ebx
setl cl
lea edx, [esp + 0xb4]
push edx
lea edi, [esp + 0x38]
mov edx, ebp
lea eax, [ecx - 1]
and eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00449fd0
mov edi, eax
cmp edi, ebx
je 0x49fcfc
mov eax, dword [0x4ed560]
cmp eax, ebx
je 0x49fc0a
mov esi, eax
call fcn.00401560
mov esi, dword [esp + 0x1c]
mov edx, ebp
mov eax, 0x104
mov ecx, 0x4ed8d1
mov dword [0x4ed560], esi
call fcn.004a0810
push ebp
push str.Loaded__s
push 0x4ede88
call fcn.00476e30
add esp, 0xc
mov eax, 0x4ed8d1
call fcn.0047fad0
mov eax, dword [esp + 0x3c4]
push eax
mov dword [0x4ed8a8], ebx
call fcn.0049f890
add esp, 4
lea edx, [esp + 0x34]
mov eax, 0x41
mov ecx, 0x4dd038
mov dword [0x4ed52c], ebx
call fcn.004a0810
mov eax, edi
jmp 0x49fd81
cmp dword [esp + 0x18], ebx
je 0x49fbb2
push ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00474430
test eax, eax
jns 0x49fcac
lea esi, [esp + 0x20]
call fcn.004742b0
mov eax, edi
jmp 0x49fd81
push 0x11
push 0x4ba784
lea edx, [esp + 0x1bc]
push 0x80
push edx
call dword [sym.imp.MSVCR100.dll_strncpy_s]
add esp, 0x10
mov ecx, 0x80
lea esi, [esp + 0x1b4]
call fcn.004741e0
mov edx, esi
mov eax, 0x80
lea ecx, [esp + 0x34]
call fcn.004a0810
lea esi, [esp + 0x20]
call fcn.004742b0
mov esi, dword [esp + 0x1c]
jmp 0x49fbb2
cmp esi, ebx
je 0x49fd05
call fcn.00401560
lea ecx, [esp + 0xb4]
push ecx
push ebp
push str.Failed_to_load__s_n_s
lea edx, [esp + 0x1c0]
push 0x1f4
push edx
call fcn.004010b0
mov ecx, dword [0x4ee004]
add esp, 0x14
push 0x30
push str.ADX_Load_Failure
lea eax, [esp + 0x1bc]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebp
push str.FAILED_to_Load__s
push 0x4ede88
mov byte [0x4ed8d1], bl
call fcn.00476e30
add esp, 0xc
cmp byte [esp + 0xb4], bl
je 0x49fd7b
lea edx, [esp + 0xb4]
push edx
push 0x4ede88
call fcn.00476e30
add esp, 8
mov eax, edi
jmp 0x49fd81
xor eax, eax
mov ecx, dword [esp + 0x3b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x398]
xor ecx, esp
call fcn.0042dbe7
add esp, 0x3a8
ret