Function at 0x422730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x46ad3b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x4960c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp + 0x10], ebx
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
call fcn.004125b0
mov ecx, dword [ebx + 0x1fc]
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ecx + 0x32c]
call dword [0x476440]
lea ecx, [ebp + 0x50]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call dword [0x47632c]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 3
call dword [0x476338]
mov eax, dword [ebp + 0x50]
cmp dword [eax + 4], 0
je 0x422fcd
lea eax, [ebx + 0x44]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x10]
call dword [0x47633c]
push 0xffffffffffffffff
mov esi, eax
mov dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x2c]
push str._ODSMSM.exe
push eax
call dword [0x476328]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [0x476208]
lea ecx, [ebp - 0x2c]
call dword [0x476338]
lea edi, [ebx + 0xf4]
push esi
mov ecx, edi
mov dword [ebp + 0x1c], edi
call dword [0x476334]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [0x476338]
push edi
call dword [0x476108]
add esp, 4
test al, al
jne 0x422859
mov byte [ebp + 0x67], al
lea ecx, [ebp + 0x67]
lea eax, [ebp - 0x64]
push eax
call fcn.0040bb20
push 0
push ecx
mov ecx, esp
mov byte [ebp - 4], 6
push edi
push eax
push ebx
mov dword [ecx], 0x400
call dword [0x4763e0]
add esp, 0x14
lea ecx, [ebp - 0x64]
jmp 0x422fc7
push 0
push 0x477d1a
call dword [0x476314]
add esp, 8
mov dword [ebp + 0x54], eax
lea esi, [ebx + 0x1e8]
mov byte [ebp - 4], 7
mov ecx, esi
xor edi, edi
call dword [0x4762f8]
test eax, eax
jle 0x422900
mov ebx, dword [0x4761d8]
nop word [eax + eax]
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x4228a9
test eax, eax
je 0x4228a9
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
call fcn.00403e60
lea eax, [edi + 1]
mov ecx, esi
push eax
call dword [0x4762f4]
lea ecx, [ebp + 0x7c]
push ecx
push eax
call ebx
add esp, 8
test al, al
jne 0x4228d4
mov ecx, esi
add edi, 2
call dword [0x4762f8]
cmp edi, eax
jl 0x422890
jmp 0x422900
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x4228ed
test eax, eax
je 0x4228ed
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
call fcn.00403e60
push edi
mov ecx, esi
call dword [0x4762f4]
push eax
lea ecx, [ebp + 0x54]
call dword [0x476334]
mov eax, dword [ebp + 0x54]
cmp dword [eax + 4], 0
je 0x422fc4
mov esi, dword [0x476314]
push 0x12
push str.C:_bin_gateway.exe
call esi
mov dword [ebp + 0x34], eax
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 8
push eax
call dword [0x476108]
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x34]
mov bl, al
call dword [0x476338]
test bl, bl
je 0x422f76
lea eax, [ebp + 0x40]
push eax
call dword [0x4763a8]
add esp, 4
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x50]
mov esi, dword [0x476af8]
push eax
mov byte [ebp - 4], 9
mov ecx, dword [edi + 0x1fc]
mov ecx, dword [ecx + 0x174]
call esi
lea ecx, [ebp + 0x58]
mov byte [ebp - 4], 0xa
push ecx
mov ecx, eax
call dword [0x47632c]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xc
call dword [0x476338]
mov ecx, dword [edi + 0x1fc]
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ecx + 0x170]
call esi
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0xd
push ecx
mov ecx, eax
call dword [0x47632c]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xf
call dword [0x476338]
mov eax, dword [ebp + 0x58]
cmp dword [eax + 4], 0
jne 0x4229e7
mov esi, dword [0x476314]
push 2
push 0x47a1fc
call esi
mov dword [ebp + 0x30], eax
add esp, 8
lea eax, [ebp + 0x30]
mov ebx, 1
jmp 0x4229ff
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp + 0x68]
call dword [0x47633c]
mov esi, dword [0x476314]
mov ebx, 2
push eax
lea ecx, [ebp + 0x44]
call dword [0x476244]
mov byte [ebp - 4], 0x10
test bl, 2
je 0x422a1e
lea ecx, [ebp + 0x68]
and ebx, 0xfffffffd
call dword [0x476338]
test bl, 1
je 0x422a2f
lea ecx, [ebp + 0x30]
and ebx, 0xfffffffe
call dword [0x476338]
mov eax, dword [ebp + 0x5c]
cmp dword [eax + 4], 0
jne 0x422a4f
push 2
push 0x47a1fc
call esi
add esp, 8
mov dword [ebp + 0x2c], eax
lea eax, [ebp + 0x2c]
or ebx, 4
jmp 0x422a5f
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp - 0x14]
call dword [0x47633c]
or ebx, 8
push eax
lea ecx, [ebp + 0x48]
call dword [0x476244]
mov byte [ebp - 4], 0x11
test bl, 8
je 0x422a7e
lea ecx, [ebp - 0x14]
and ebx, 0xfffffff7
call dword [0x476338]
test bl, 4
je 0x422a8c
lea ecx, [ebp + 0x2c]
call dword [0x476338]
mov ecx, dword [edi + 0x1fc]
mov ecx, dword [ecx + 0x328]
call fcn.0050815c
nop
test al, al
je 0x422d76
add edi, 0x4c
push edi
call dword [0x476108]
mov ebx, dword [0x476238]
add esp, 4
test al, al
je 0x422ca7
lea ecx, [ebp + 0x38]
call fcn.004f620c
nop
push edi
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x12
call dword [0x476298]
mov esi, dword [0x476294]
push ecx
mov eax, esp
lea ecx, [ebp + 0x38]
mov dword [eax], 8
call esi
lea ecx, [ebp + 0x38]
call dword [0x4762a4]
push ecx
mov eax, esp
lea ecx, [ebp + 0x38]
mov dword [eax], 2
call esi
test al, al
je 0x422c9a
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 4]
call fcn.004ee398
nop
push str.UTF_8
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0x13
call fcn.0051a44c
nop
mov edi, dword [0x4762a8]
lea ecx, [ebp + 4]
push str.__bin_csh__F_n
call edi
mov esi, dword [0x476314]
push 0x11
push str._1__2__3__4__5__6
call esi
mov dword [ebp + 0x28], eax
add esp, 4
mov byte [ebp + 0x68], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x14
push dword [ebp + 0x68]
call fcn.0051382c
nop
push 0
push dword [ebp + 0x1c]
lea eax, [ebp + 0x60]
push eax
lea ecx, [ebp + 0x28]
call ebx
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x68], 0x20
push dword [ebp + 0x68]
mov byte [ebp - 4], 0x15
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x44]
mov ecx, esi
push eax
lea eax, [ebp - 0x28]
push eax
call ebx
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x68], 0x20
push dword [ebp + 0x68]
mov byte [ebp - 4], 0x16
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call ebx
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x68], 0x20
push dword [ebp + 0x68]
mov byte [ebp - 4], 0x17
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x54]
mov ecx, esi
push eax
lea eax, [ebp - 0x20]
push eax
call ebx
mov esi, eax
mov byte [ebp - 4], 0x18
mov byte [ebp + 0x68], 0x20
push ecx
mov ecx, esp
push dword [ebp + 0x68]
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x58]
mov ecx, esi
push eax
lea eax, [ebp - 0x1c]
push eax
call ebx
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x68], 0x20
push dword [ebp + 0x68]
mov byte [ebp - 4], 0x19
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x5c]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push eax
call ebx
push 0x477bf8
push eax
lea ecx, [ebp + 4]
mov byte [ebp - 4], 0x1a
call dword [0x4762ac]
mov ecx, eax
call edi
lea ecx, [ebp - 0x18]
call dword [0x476338]
lea ecx, [ebp - 0x1c]
call dword [0x476338]
lea ecx, [ebp - 0x20]
call dword [0x476338]
lea ecx, [ebp - 0x24]
call dword [0x476338]
lea ecx, [ebp - 0x28]
call dword [0x476338]
lea ecx, [ebp + 0x60]
call dword [0x476338]
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x13
call dword [0x476338]
push str.exit_n
lea ecx, [ebp + 4]
call edi
lea ecx, [ebp + 0x38]
call dword [0x4762a4]
lea ecx, [ebp + 4]
call dword [0x4762b4]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x11
call dword [0x47629c]
mov ebx, dword [0x476314]
push 1
push 0x47a274
call ebx
mov dword [ebp + 0x20], eax
push 0x59
push str.gateway.exe__1_2__3._3__COM_script_run_name_dirmodeglobal_params_env1JOB_env2STEP_
mov byte [ebp - 4], 0x1b
call ebx
mov dword [ebp + 0x24], eax
add esp, 0xc
mov byte [ebp + 0x60], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x1c
push dword [ebp + 0x60]
call fcn.0051382c
nop
mov edi, dword [0x476238]
lea eax, [ebp + 0x20]
push 0
push eax
lea eax, [ebp + 0x6c]
push eax
lea ecx, [ebp + 0x24]
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x60], 0x20
push dword [ebp + 0x60]
mov byte [ebp - 4], 0x1d
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x50]
mov ecx, esi
push eax
lea eax, [ebp - 0x34]
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x60], 0x20
push dword [ebp + 0x60]
mov byte [ebp - 4], 0x1e
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x30]
push eax
call edi
push eax
mov byte [ebp - 4], 0x1f
call dword [0x47612c]
add esp, 4
lea ecx, [ebp - 0x30]
call dword [0x476338]
lea ecx, [ebp - 0x34]
call dword [0x476338]
lea ecx, [ebp + 0x6c]
call dword [0x476338]
lea ecx, [ebp + 0x24]
call dword [0x476338]
lea ecx, [ebp + 0x20]
jmp 0x422f47
push 1
push 0x47a274
call esi
mov dword [ebp + 0x14], eax
push 0x67
push str.gateway.exe__1_2__3._3__COM_script_run_name_4_dirmodeglobal_params_5__6__7_env1JOB_8_env2STEP_9_
mov byte [ebp - 4], 0x20
call esi
mov dword [ebp + 0x18], eax
add esp, 0xc
mov byte [ebp + 0x6c], 0x20
mov ecx, esp
mov byte [ebp - 4], 0x21
push dword [ebp + 0x6c]
call fcn.0051382c
nop
mov edi, dword [0x476238]
lea eax, [ebp + 0x14]
push 0
push eax
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x18]
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x22
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x50]
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x23
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x40]
mov ecx, esi
push eax
lea eax, [ebp - 0x54]
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x24
call fcn.0051382c
nop
push 0
push dword [ebp + 0x1c]
lea eax, [ebp - 0x68]
mov ecx, esi
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x25
call fcn.0051382c
nop
lea eax, [ebp + 0x44]
push 0
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x26
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x48]
mov ecx, esi
push eax
lea eax, [ebp - 0x48]
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x27
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x54]
mov ecx, esi
push eax
lea eax, [ebp - 0x44]
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x28
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x58]
mov ecx, esi
push eax
lea eax, [ebp - 0x40]
push eax
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp + 0x6c], 0x20
push dword [ebp + 0x6c]
mov byte [ebp - 4], 0x29
call fcn.0051382c
nop
push 0
lea eax, [ebp + 0x5c]
mov ecx, esi
push eax
lea eax, [ebp - 0x3c]
push eax
call edi
push eax
mov byte [ebp - 4], 0x2a
call dword [0x47612c]
add esp, 4
lea ecx, [ebp - 0x3c]
call dword [0x476338]
lea ecx, [ebp - 0x40]
call dword [0x476338]
lea ecx, [ebp - 0x44]
call dword [0x476338]
lea ecx, [ebp - 0x48]
call dword [0x476338]
lea ecx, [ebp - 0x4c]
call dword [0x476338]
lea ecx, [ebp - 0x68]
call dword [0x476338]
lea ecx, [ebp - 0x54]
call dword [0x476338]
lea ecx, [ebp - 0x58]
call dword [0x476338]
lea ecx, [ebp]
call dword [0x476338]
lea ecx, [ebp + 0x18]
call dword [0x476338]
lea ecx, [ebp + 0x14]
call dword [0x476338]
lea ecx, [ebp + 0x48]
call dword [0x476338]
lea ecx, [ebp + 0x44]
call dword [0x476338]
lea ecx, [ebp + 0x5c]
call dword [0x476338]
lea ecx, [ebp + 0x58]
call dword [0x476338]
lea ecx, [ebp + 0x40]
jmp 0x422fbe
push 0x12
push str.C:_bin_gateway.exe
call esi
add esp, 8
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x4f]
call fcn.0040dee0
mov edi, dword [ebp + 0x10]
push 0
push ecx
mov ecx, esp
mov byte [ebp - 4], 0x2c
mov dword [ecx], 0x400
lea ecx, [ebp + 0xc]
push ecx
push eax
push edi
call dword [0x4763e0]
add esp, 0x14
lea ecx, [ebp + 0x70]
call dword [0x476338]
lea ecx, [ebp + 0xc]
call dword [0x476338]
lea ecx, [ebp + 0x54]
call dword [0x476338]
lea ecx, [ebp + 0x50]
call dword [0x476338]
lea ecx, [ebp + 0x7c]
call dword [0x476338]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x74]
pop ebp
ret 4