Function at 0x402bf8
Capabilities:
Contain obfuscated stackstrings
Create directory

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x36
add esp, 0xfffff004
push eax
dec eax
jne 0x402c01
mov eax, dword [ebp - 4]
add esp, 0xffffffe8
push esi
push edi
mov eax, 0x4b5a18
call fcn.004a40b4
push 0x4c1a2c
call fcn.00403928
pop ecx
mov esi, eax
lea edi, [ebp - 0x12544]
mov ecx, 0x4882
rep movsd dword es:[edi], dword [esi]
push 0x4c1a2c
call fcn.00403938
pop ecx
mov word [ebp - 0x288], 0x18
lea eax, [ebp - 0x12544]
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0xc
push 0x4b4cec
lea ecx, [ebp - 0x28]
push ecx
call fcn.004039a4
add esp, 8
test al, al
je 0x402ca0
xor eax, eax
mov al, byte [ebp - 0x124c4]
cmp eax, 3
jne 0x402ca0
push 0x4b4d00
lea edx, [ebp - 0x28]
push edx
call fcn.00401ae0
add esp, 8
mov word [ebp - 0x288], 0x24
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401b18
pop ecx
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004b2bc0
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0xc
mov word [ebp - 0x288], 0x30
lea eax, [ebp - 0x300]
call fcn.004039c0
xor edx, edx
call fcn.004039f4
mov cl, byte [eax]
push ecx
lea eax, [ebp - 0x48]
call fcn.00402770
push eax
inc dword [ebp - 0x27c]
mov edx, 0x4b4d1e
lea eax, [ebp - 0x44]
call fcn.004b2b14
inc dword [ebp - 0x27c]
push dword [eax]
mov edx, 0x4b4d1c
lea eax, [ebp - 0x40]
call fcn.004b2b14
mov edx, eax
inc dword [ebp - 0x27c]
mov edx, dword [edx]
mov eax, dword [ebp - 0x2c]
pop ecx
call fcn.0042fb9c
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x2c]
call fcn.004b2c4c
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004b2c24
mov word [ebp - 0x288], 0x3c
call fcn.00408ac8
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004b2bc0
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0xc
mov word [ebp - 0x288], 0x48
lea eax, [ebp - 0x50]
call fcn.00402770
push eax
inc dword [ebp - 0x27c]
mov edx, 0x4b4d20
lea eax, [ebp - 0x4c]
call fcn.004b2b14
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x30]
pop ecx
call fcn.004b2c74
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x54]
call fcn.00402770
mov ecx, eax
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x2c]
pop eax
call fcn.004b2c74
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x34]
call fcn.00402770
push eax
inc dword [ebp - 0x27c]
mov edx, 0x4b4d22
lea eax, [ebp - 0x58]
call fcn.004b2b14
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x58]
pop ecx
pop eax
call fcn.004b2c74
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004b2c24
mov word [ebp - 0x288], 0xc
mov word [ebp - 0x288], 0x54
push dword [ebp - 0x2c]
push dword [ebp + 8]
lea eax, [ebp - 0x38]
call fcn.00402770
push eax
inc dword [ebp - 0x27c]
call fcn.00402598
add esp, 0xc
mov word [ebp - 0x288], 0xc
mov word [ebp - 0x288], 0x60
lea eax, [ebp - 0x5c]
call fcn.00402770
mov ecx, eax
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x38]
call fcn.004b2c74
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x3c]
call fcn.00402770
push eax
inc dword [ebp - 0x27c]
mov edx, str..ide
lea eax, [ebp - 0x60]
call fcn.004b2b14
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x60]
pop ecx
pop eax
call fcn.004b2c74
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.004b2c24
mov word [ebp - 0x288], 0xc
push 0
lea eax, [ebp - 0x38]
call fcn.004027a0
push eax
call sub.KERNEL32.DLL_CreateDirectoryW
test eax, eax
jne 0x402f84
call sub.KERNEL32.DLL_GetLastError
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x308], 0xb7
jne 0x402f66
push str.Driver_Create_TmpFolder_fail__ERROR_ALREADY_EXISTS__n
mov edx, dword [sym.ArmouryUpdate.exe__fmMain]
push dword [edx]
call fcn.004093ec
add esp, 8
jmp 0x402f84
cmp dword [ebp - 0x308], 3
jne 0x402f84
push str.Driver_Create_TmpFolder_fail__ERROR_PATH_NOT_FOUND__n
mov ecx, dword [sym.ArmouryUpdate.exe__fmMain]
push dword [ecx]
call fcn.004093ec
add esp, 8
mov dword [ebp - 0x304], 5
push 0
lea eax, [ebp - 0x3c]
call fcn.004027a0
push eax
lea eax, [ebp - 0x34]
call fcn.004027a0
push eax
call fcn.00408d14
add esp, 0xc
mov dword [ebp - 0x304], eax
mov esi, 0x4b438c
lea edi, [ebp - 0x12944]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x288], 0x6c
push dword [ebp - 0x34]
push str.Driver___IDE_Download_from:__s__n
push pe_nt_image_headers32
lea eax, [ebp - 0x12944]
push eax
call fcn.004a7308
add esp, 0x10
lea edx, [ebp - 0x12944]
push edx
mov ecx, dword [sym.ArmouryUpdate.exe__fmMain]
push dword [ecx]
call fcn.004093ec
add esp, 8
push dword [ebp - 0x3c]
push str.Driver___IDE_Download_to:__s__n
push pe_nt_image_headers32
lea eax, [ebp - 0x12944]
push eax
call fcn.004a7308
add esp, 0x10
lea edx, [ebp - 0x12944]
push edx
mov ecx, dword [sym.ArmouryUpdate.exe__fmMain]
push dword [ecx]
call fcn.004093ec
add esp, 8
cmp dword [ebp - 0x304], 5
jne 0x403835
push str.Driver_Donload_ide_file_OK...__n
mov eax, dword [sym.ArmouryUpdate.exe__fmMain]
push dword [eax]
call fcn.004093ec
add esp, 8
mov edx, dword [ebp + 8]
add edx, 0x408
push edx
lea eax, [ebp - 0x2c]
call fcn.004027a0
push eax
lea eax, [ebp - 0x3c]
call fcn.004027a0
push eax
call fcn.00408f20
add esp, 0xc
mov edx, dword [ebp + 8]
mov dword [edx + 0x40c], eax
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x40c], 0
jne 0x403090
jmp 0x40389b
xor eax, eax
mov dword [ebp - 0x30c], eax
mov word [ebp - 0x288], 0x84
lea edx, [ebp - 0x124c2]
push edx
lea ecx, [ebp - 0x88]
push ecx
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0x78
lea eax, [ebp - 0x88]
push eax
call fcn.00403a40
pop ecx
mov dword [ebp - 0x310], eax
mov byte [ebp - 0x311], 0
xor edx, edx
mov dword [ebp - 0x318], edx
mov word [ebp - 0x288], 0x78
jmp 0x4032cc
mov ecx, dword [ebp - 0x30c]
inc dword [ebp - 0x30c]
mov eax, dword [ebp + 8]
cmp ecx, dword [eax + 0x40c]
jge 0x4032c6
imul edx, dword [ebp - 0x318], 0x114a8
mov ecx, dword [ebp + 8]
add edx, dword [ecx + 0x408]
mov dword [ebp - 0x31c], edx
mov word [ebp - 0x288], 0x78
mov eax, dword [ebp - 0x31c]
mov dl, byte [eax]
cmp dl, byte [ebp - 0x124c4]
jne 0x4032c6
mov byte [ebp - 0x311], 1
lea ecx, [ebp - 0x88]
push ecx
call fcn.00403a40
pop ecx
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x31c]
add eax, 0x192
push eax
call fcn.004a3fd0
pop ecx
mov dword [ebp - 0x324], eax
mov word [ebp - 0x288], 0x9c
push 0x4b4ec0
lea edx, [ebp - 0xb0]
push edx
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0x90
mov ecx, dword [ebp - 0x320]
cmp ecx, dword [ebp - 0x324]
jge 0x403251
xor eax, eax
mov dword [ebp - 0x328], eax
mov word [ebp - 0x288], 0x90
jmp 0x4031e4
push 0x4b4ec2
lea edx, [ebp - 0xb0]
push edx
call fcn.00403a4c
add esp, 8
inc dword [ebp - 0x328]
mov ecx, dword [ebp - 0x324]
sub ecx, dword [ebp - 0x320]
cmp ecx, dword [ebp - 0x328]
jg 0x4031ca
mov word [ebp - 0x288], 0xa8
lea eax, [ebp - 0x88]
push eax
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00403a60
add esp, 0xc
lea eax, [ebp - 0xd8]
push eax
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x88]
push edx
call fcn.00403ad8
add esp, 8
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00401a9c
add esp, 8
mov eax, dword [ebp - 0x31c]
add eax, 0x192
push eax
lea edx, [ebp - 0x88]
push edx
call fcn.00403aec
add esp, 8
test al, al
je 0x4032a6
mov ecx, dword [ebp - 0x31c]
add ecx, 0x192
push ecx
lea eax, [ebp - 0x88]
push eax
call fcn.00401ae0
add esp, 8
push 0x114a8
push dword [ebp - 0x31c]
lea edx, [ebp - 0x23dec]
push edx
call fcn.004a3b94
add esp, 0xc
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00401a9c
add esp, 8
mov word [ebp - 0x288], 0x78
inc dword [ebp - 0x318]
mov eax, dword [ebp - 0x318]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x40c]
jl 0x4030f6
cmp byte [ebp - 0x311], 0
je 0x40378a
mov word [ebp - 0x288], 0xc0
lea ecx, [ebp - 0x124c2]
push ecx
lea eax, [ebp - 0x100]
push eax
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0xb4
lea edx, [ebp - 0x100]
push edx
call fcn.00403a40
pop ecx
mov dword [ebp - 0x32c], eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00403a40
pop ecx
mov dword [ebp - 0x330], eax
mov word [ebp - 0x288], 0xcc
push 0x4b4ec6
lea eax, [ebp - 0x128]
push eax
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0xb4
mov edx, dword [ebp - 0x32c]
cmp edx, dword [ebp - 0x330]
jge 0x40341a
xor ecx, ecx
mov dword [ebp - 0x334], ecx
mov word [ebp - 0x288], 0xb4
jmp 0x4033ad
push 0x4b4ec8
lea eax, [ebp - 0x128]
push eax
call fcn.00403a4c
add esp, 8
inc dword [ebp - 0x334]
mov edx, dword [ebp - 0x330]
sub edx, dword [ebp - 0x32c]
cmp edx, dword [ebp - 0x334]
jg 0x403393
mov word [ebp - 0x288], 0xd8
lea ecx, [ebp - 0x100]
push ecx
lea eax, [ebp - 0x128]
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.00403a60
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
inc dword [ebp - 0x27c]
lea eax, [ebp - 0x100]
push eax
call fcn.00403ad8
add esp, 8
dec dword [ebp - 0x27c]
push 2
lea edx, [ebp - 0x150]
push edx
call fcn.00401a9c
add esp, 8
lea ecx, [ebp - 0x88]
push ecx
lea eax, [ebp - 0x100]
push eax
call fcn.00403b08
add esp, 8
test al, al
je 0x403652
push 0x4b4ecc
lea edx, [ebp - 0x28]
push edx
call fcn.004039a4
add esp, 8
test al, al
je 0x40346b
xor ecx, ecx
mov cl, byte [ebp - 0x124c4]
cmp ecx, 3
jne 0x40346b
push 0x4b4ee8
lea eax, [ebp - 0x28]
push eax
call fcn.00401ae0
add esp, 8
mov word [ebp - 0x288], 0xe4
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x23dea]
push ecx
lea eax, [ebp - 0x1a0]
push eax
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
lea edx, [ebp - 0x1a0]
push edx
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.00403b24
add esp, 0xc
push eax
add dword [ebp - 0x27c], 3
lea eax, [ebp - 0x240]
push eax
call fcn.00403b74
add esp, 8
add dword [ebp - 0x27c], 3
lea edx, [ebp - 0x240]
push edx
push dword [0x4c1a20]
lea ecx, [ebp - 0x23e04]
push ecx
call fcn.00403bc4
add esp, 0xc
dec dword [ebp - 0x27c]
dec dword [ebp - 0x27c]
push 2
lea eax, [ebp - 0x218]
push eax
call fcn.00401a9c
add esp, 8
dec dword [ebp - 0x27c]
push 2
lea edx, [ebp - 0x240]
push edx
call fcn.00401a9c
add esp, 8
dec dword [ebp - 0x27c]
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0x1c8]
push ecx
call fcn.00401a9c
add esp, 8
dec dword [ebp - 0x27c]
push 2
lea eax, [ebp - 0x1f0]
push eax
call fcn.00401a9c
add esp, 8
dec dword [ebp - 0x27c]
push 2
lea edx, [ebp - 0x1a0]
push edx
call fcn.00401a9c
add esp, 8
lea ecx, [ebp - 0x28]
push ecx
push dword [0x4c1a1c]
lea eax, [ebp - 0x3601c]
push eax
call fcn.00403d74
add esp, 0xc
lea edx, [ebp - 0x3601c]
push edx
call fcn.00403e14
pop ecx
lea esi, [eax + 0x28]
lea edi, [ebp - 0x3600c]
mov ecx, 0x4882
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x288], 0xb4
lea eax, [ebp - 0x23c5a]
push eax
lea edx, [ebp - 0x35f6a]
push edx
call fcn.004a3fe8
add esp, 8
push 0x114a8
lea ecx, [ebp - 0x23dec]
push ecx
lea eax, [ebp - 0x352ac]
push eax
call fcn.004a3b94
add esp, 0xc
lea edx, [ebp - 0x3600c]
push edx
push 0x4c1a54
call fcn.00403e24
add esp, 8
push 0x4c1a54
call fcn.00402be8
pop ecx
mov dword [ebp - 0x338], eax
mov word [ebp - 0x288], 0xfc
lea ecx, [ebp - 0x12544]
push ecx
lea eax, [ebp - 0x178]
push eax
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
mov word [ebp - 0x288], 0xf0
mov edx, dword [ebp - 0x352b0]
add dword [0x4c1994], edx
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0x178]
push ecx
call fcn.00401a9c
add esp, 8
mov word [ebp - 0x288], 0xb4
push 0x4c1a54
call fcn.00402be8
pop ecx
mov dword [ebp - 0x33c], eax
mov word [ebp - 0x288], 0xb4
cmp dword [ebp - 0x33c], 0
jle 0x403702
mov word [ebp - 0x288], 0x114
lea eax, [ebp - 0x26c]
call fcn.00402770
mov edx, eax
inc dword [ebp - 0x27c]
mov eax, dword [ebp - 0x33c]
call fcn.00429b3c
lea eax, [ebp - 0x26c]
call fcn.004027a0
push eax
lea edx, [ebp - 0x268]
push edx
call fcn.00403948
add esp, 8
inc dword [ebp - 0x27c]
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x26c]
mov edx, 2
call fcn.004b2c24
mov word [ebp - 0x288], 0x108
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0x268]
push ecx
call fcn.00401a9c
add esp, 8
mov word [ebp - 0x288], 0xb4
jmp 0x403753
mov word [ebp - 0x288], 0x120
mov edx, str.0Driver_Donload_ide_file_fail......_n
lea eax, [ebp - 0x270]
call fcn.004b2b14
mov edx, eax
inc dword [ebp - 0x27c]
mov edx, dword [edx]
mov eax, dword [sym.ArmouryUpdate.exe__fmMain]
mov eax, dword [eax]
call fcn.0040b2c4
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x270]
mov edx, 2
call fcn.004b2c24
mov eax, dword [sym.ArmouryUpdate.exe__fmMain]
mov eax, dword [eax]
call fcn.0040ac1c
dec dword [ebp - 0x27c]
push 2
lea edx, [ebp - 0x128]
push edx
call fcn.00401a9c
add esp, 8
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0x100]
push ecx
call fcn.00401a9c
add esp, 8
mov word [ebp - 0x288], 0x78
mov al, 1
push eax
dec dword [ebp - 0x27c]
push 2
lea edx, [ebp - 0x88]
push edx
call fcn.00401a9c
add esp, 8
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401a9c
add esp, 8
pop eax
mov edx, dword [ebp - 0x298]
mov dword fs:[0], edx
jmp 0x40391f
push 0x4b4efe
mov ecx, dword [sym.ArmouryUpdate.exe__fmMain]
push dword [ecx]
call fcn.004093ec
add esp, 8
mov word [ebp - 0x288], 0x12c
mov edx, str.0Driver_Download_file_ing..._n
lea eax, [ebp - 0x274]
call fcn.004b2b14
mov edx, eax
inc dword [ebp - 0x27c]
mov edx, dword [edx]
mov eax, dword [sym.ArmouryUpdate.exe__fmMain]
mov eax, dword [eax]
call fcn.0040b2c4
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x274]
mov edx, 2
call fcn.004b2c24
mov eax, dword [sym.ArmouryUpdate.exe__fmMain]
mov eax, dword [eax]
call fcn.0040ac1c
xor eax, eax
push eax
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004b2c24
dec dword [ebp - 0x27c]
push 2
lea ecx, [ebp - 0x28]
push ecx
call fcn.00401a9c
add esp, 8
pop eax
mov edx, dword [ebp - 0x298]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp