Function at 0x4a72f0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52a75a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34c]
mov dword [esp + 0xc], ecx
push edi
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.004d2e30
cmp eax, 0xffffffff
je 0x4a8322
test eax, eax
je 0x4a8322
mov ecx, 0x571fb8
call fcn.00482d70
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0xc]
mov dword [esp + 0x18], eax
lea eax, [edi + 8]
push eax
call ebp
mov edx, dword [edi]
mov ebx, dword [esi + 0x21c]
mov ecx, edi
call dword [edx + 0x14]
lea eax, [edi + 8]
push eax
call ebp
mov ecx, dword [esi + 0x37c]
mov edx, dword [edi]
mov dword [esp + 0x28], ecx
mov ecx, edi
call dword [edx + 0x14]
mov eax, dword [esp + 0x28]
xor ecx, ecx
test eax, eax
mov eax, ebx
setne cl
shr eax, 0x10
cmp eax, 8
je 0x4a8309
test ecx, ecx
jne 0x4a8309
cmp eax, 1
mov eax, dword [0x569c90]
sete cl
and ebx, 0xfff
xor edx, edx
cmp ebx, 0x16
mov dword [esp + 0x44], ecx
sete dl
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x348], 0
mov dword [esp + 0x38], eax
lea eax, [edi + 8]
mov dword [esp + 0x20], edi
push eax
call ebp
lea eax, [esi + 0x34]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x34c], 2
call fcn.004d1040
lea eax, [esi + 0xd0]
lea ecx, [esp + 0x38]
push eax
call fcn.004d1040
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 1
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], ebx
mov edx, dword [eax + 0x178]
lea ecx, [eax + 0x15c]
mov dword [esp + 0x34], ecx
mov eax, dword [ecx + 0x20]
add eax, edx
lea edx, [esp + 0x2c]
mov dword [esp + 0x50], eax
push edx
lea eax, [esp + 0x50]
lea edx, [esp + 0x34]
push eax
push edx
call fcn.004d13e0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], ebx
cmp eax, ebx
mov dword [esp + 0x60], ebx
je 0x4a7471
lea eax, [esp + 0x54]
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
call fcn.004d13e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
add ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], ecx
add edx, eax
mov eax, dword [esp + 0x44]
test eax, eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], 0
jne 0x4a74b8
mov ecx, dword [esi + 0x208]
xor edx, edx
and ecx, 0x800
cmp ecx, 0x800
sete dl
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
jge 0x4a7584
mov eax, edi
mov dword [esp + 0x24], eax
add eax, 8
push eax
call ebp
mov ecx, dword [esi + 0x208]
mov byte [esp + 0x348], 3
and ecx, 0x400
cmp ecx, 0x400
jne 0x4a7500
mov ecx, 0x571fb8
call fcn.00482de0
jmp 0x4a7506
mov eax, dword [esi + 0xc4]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x348], 1
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jge 0x4a7584
mov eax, edi
mov dword [esp + 0x24], eax
add eax, 8
push eax
call ebp
mov eax, dword [esi + 0x208]
mov byte [esp + 0x348], 4
and eax, 0x400
cmp eax, 0x400
jne 0x4a7559
mov ecx, 0x571fb8
call fcn.00482de0
jmp 0x4a755f
mov eax, dword [esi + 0x160]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x348], 1
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
cmp ecx, eax
jl 0x4a7b61
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4a784c
mov eax, dword [ebx + 0x9c]
lea ecx, [ebx + 0x9c]
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], ecx
call dword [eax + 0x14]
lea ecx, [edi + 8]
mov dword [esp + 0x1c], edi
push ecx
call ebp
mov edx, dword [esi + 0x208]
mov byte [esp + 0x348], 6
and edx, 0x400
cmp edx, 0x400
jne 0x4a75ee
mov ecx, 0x571fb8
call fcn.00482de0
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 5
call dword [eax + 0x14]
jmp 0x4a7603
mov edx, dword [edi]
mov ebx, dword [esi + 0xc4]
mov ecx, edi
mov byte [esp + 0x348], 5
call dword [edx + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, ebx
cmp ecx, eax
jl 0x4a76e0
mov ebx, dword [esp + 0x18]
mov ecx, 0x571fb8
inc ebx
mov dword [esp + 0x18], ebx
call fcn.00482de0
mov ebx, eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, 0x571fb8
inc ebx
mov dword [esp + 0x44], 1
call fcn.00482da0
push ebx
mov ecx, 0x571fb8
call fcn.00482e10
lea ecx, [edi + 8]
mov dword [esp + 0x1c], edi
push ecx
call ebp
mov edx, dword [esp + 0x18]
lea ecx, [esi + 0x34]
push edx
mov byte [esp + 0x34c], 7
call fcn.004a8340
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 5
call dword [eax + 0x14]
mov ecx, 0x571fb8
call fcn.00482d70
push ecx
mov dword [esp + 0x1c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareGlobalSCAPECuteFTP_8_ProfessionalSettings
call fcn.00507da8
push 3
mov ecx, 0x571fb8
call fcn.0047f500
mov ecx, dword [esp + 0x10]
push 1
push 3
push 0x350a
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x348], 1
add ecx, 8
push ecx
call ebp
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4a74bc
jmp 0x4a7ccf
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4a76b9
call fcn.0049a900
push eax
lea ecx, [esp + 0x228]
call fcn.0040f040
lea eax, [edi + 8]
mov dword [esp + 0x1c], edi
push eax
call ebp
mov ecx, dword [esi + 0x208]
mov byte [esp + 0x348], 9
and ecx, 0x400
cmp ecx, 0x400
jne 0x4a773d
mov ecx, 0x571fb8
call fcn.00482de0
mov edx, dword [edi]
mov ecx, edi
mov ebx, eax
mov byte [esp + 0x348], 8
call dword [edx + 0x14]
jmp 0x4a7752
mov eax, dword [edi]
mov ebx, dword [esi + 0xc4]
mov ecx, edi
mov byte [esp + 0x348], 8
call dword [eax + 0x14]
lea ecx, [esp + 0x224]
mov eax, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x33c], eax
call fcn.004d1910
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x24], eax
je 0x4a77f3
mov edx, dword [esp + 0x338]
lea eax, [edi + 8]
push eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
call ebp
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x348], 0xa
push ecx
lea ecx, [esi + 0x34]
call fcn.004a8340
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 8
call dword [edx + 0x14]
mov ecx, 0x571fb8
call fcn.00482d70
push ecx
mov dword [esp + 0x1c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareGlobalSCAPECuteFTP_8_ProfessionalSettings
call fcn.00507da8
push 3
mov ecx, 0x571fb8
call fcn.0047f500
mov ebx, dword [esp + 0x10]
push 1
push 3
push 0x350a
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4a77f7
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x348], 0xd
call fcn.00505e85
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x348], 0xc
call fcn.00505e85
lea ecx, [esp + 0x280]
mov byte [esp + 0x348], 0xb
call fcn.00512825
lea ecx, [esp + 0x224]
mov byte [esp + 0x348], 5
call fcn.005084be
jmp 0x4a76bd
lea ecx, [esp + 0x6c]
call fcn.004608a0
mov eax, edi
mov dword [esp + 0x14], eax
add eax, 8
push eax
call ebp
lea eax, [esi + 0x34]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0x34c], 0x13
call fcn.00461150
mov ecx, edi
mov byte [esp + 0x348], 0x12
mov edx, dword [ecx]
call dword [edx + 0x14]
lea eax, [esp + 0x64]
lea ecx, [esp + 0x20]
push eax
lea edx, [esp + 0x6c]
push ecx
lea eax, [esp + 0x64]
push edx
lea ecx, [esp + 0x78]
push eax
push ecx
mov ecx, 0x572a70
call fcn.004e4710
mov ecx, 0x571fb8
call fcn.00481d10
test eax, eax
jne 0x4a78e0
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a78f2
mov eax, dword [esp + 0x68]
test eax, eax
jg 0x4a78e0
mov ecx, dword [esp + 0x64]
test ecx, ecx
jg 0x4a78e0
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x4a78f2
test eax, eax
jne 0x4a78f2
cmp ecx, dword [esp + 0x20]
jl 0x4a78f2
push 1
push esi
mov ecx, ebx
call fcn.004ab200
test eax, eax
jne 0x4a7e1e
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4a7910
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x4a7910
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0x20]
cmp ecx, edx
jge 0x4a7946
mov ecx, 0x571fb8
call fcn.00481d10
test eax, eax
jne 0x4a80d7
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x4a80d7
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a80d7
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a80d7
mov eax, dword [ebx + 0x9c]
lea ecx, [ebx + 0x9c]
mov dword [esp + 0x24], ecx
call dword [eax + 0x14]
mov byte [esp + 0x348], 0x1a
call fcn.0049a900
push eax
lea ecx, [esp + 0x10c]
call fcn.0040f040
lea ecx, [edi + 8]
mov dword [esp + 0x14], edi
push ecx
call ebp
mov edx, dword [esi + 0x208]
mov byte [esp + 0x348], 0x1c
and edx, 0x400
cmp edx, 0x400
jne 0x4a79b6
mov ecx, 0x571fb8
call fcn.00482de0
mov ebx, eax
mov eax, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 0x1b
call dword [eax + 0x14]
jmp 0x4a79cb
mov edx, dword [edi]
mov ebx, dword [esi + 0xc4]
mov ecx, edi
mov byte [esp + 0x348], 0x1b
call dword [edx + 0x14]
mov eax, ebx
mov ecx, esi
mov dword [esp + 0x21c], eax
lea eax, [esp + 0x108]
push eax
call fcn.004d1910
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
je 0x4a7eb7
mov ecx, dword [esp + 0x21c]
lea edx, [edi + 8]
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], edi
call ebp
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x34]
push eax
mov byte [esp + 0x34c], 0x1d
call fcn.004a8340
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 0x1b
call dword [edx + 0x14]
mov ecx, 0x571fb8
call fcn.00482d70
push ecx
mov dword [esp + 0x1c], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.SoftwareGlobalSCAPECuteFTP_8_ProfessionalSettings
call fcn.00507da8
push 3
mov ecx, 0x571fb8
call fcn.0047f500
mov ebx, dword [esp + 0x10]
push 1
push 3
push 0x350a
mov eax, dword [ebx + 0xc]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x348], 0x2d
call fcn.00505e85
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x348], 0x2c
call fcn.00505e85
lea ecx, [esp + 0x164]
mov byte [esp + 0x348], 0x2b
call fcn.00512825
lea ecx, [esp + 0x108]
mov byte [esp + 0x348], 0x1a
call fcn.005084be
mov ecx, dword [esp + 0x24]
add ecx, 8
push ecx
call ebp
lea edx, [esp + 0xd0]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x348], 0x33
call fcn.00507d3a
lea ecx, [esp + 0xd0]
mov byte [esp + 0x348], 0x32
call fcn.00507d3a
lea ecx, [esp + 0xcc]
mov byte [esp + 0x348], 0x31
call fcn.00507d3a
lea ecx, [esp + 0xc8]
mov byte [esp + 0x348], 0x30
call fcn.00507d3a
lea ecx, [esp + 0xc4]
mov byte [esp + 0x348], 0x2f
call fcn.00507d3a
lea ecx, [esp + 0xa8]
mov byte [esp + 0x348], 0x2e
call fcn.00404e10
mov byte [esp + 0x348], 1
lea ecx, [esp + 0x70]
call fcn.00404d90
jmp 0x4a74bc
mov eax, dword [esp + 0x3c]
mov ecx, ebx
push eax
push esi
call fcn.004ab200
test eax, eax
je 0x4a824b
push 0x4a8990
mov ecx, esi
call fcn.004d2f80
test eax, eax
je 0x4a823a
push 0xf4240
push 0
push edi
lea ecx, [esp + 0x2c]
call fcn.004295c0
lea eax, [esi + 0x34]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0x34c], 0x3b
call fcn.004d1040
lea eax, [esi + 0xd0]
lea ecx, [esp + 0x38]
push eax
call fcn.004d1040
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x348], 1
mov edx, dword [ecx]
call dword [edx + 0x14]
lea ebp, [ebx + 0x1c]
push 0xf4240
push 0
push ebp
lea ecx, [esp + 0x2c]
call fcn.004295c0
mov eax, dword [esp + 0x44]
push 1
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x354], 0x3c
call fcn.004d10d0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x348], 1
mov edx, dword [ecx]
call dword [edx + 0x14]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a7c5a
push 0xf4240
push 0
push ebp
lea ecx, [esp + 0x2c]
call fcn.004295c0
mov eax, dword [esp + 0x44]
push 1
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x354], 0x3d
call fcn.004d10d0
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x348], 1
mov edx, dword [ecx]
call dword [edx + 0x14]
push 0xf4240
push 0
push edi
lea ecx, [esp + 0x2c]
call fcn.004295c0
mov eax, dword [esi + 0x3a4]
xor ecx, ecx
and eax, 0x20
cmp al, 0x20
sete cl
mov edi, ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
call dword [edx + 0x14]
test edi, edi
je 0x4a824b
mov ecx, esi
call fcn.004d3840
mov edx, dword [ebx + 0x28c]
xor ecx, ecx
test edx, edx
jle 0x4a7cb7
mov edi, dword [ebx + 0x288]
cmp dword [edi], eax
je 0x4a824b
inc ecx
add edi, 4
cmp ecx, edx
jl 0x4a7ca7
mov edx, dword [ebx + 0x28c]
lea ecx, [ebx + 0x284]
push eax
push edx
call fcn.004d0780
jmp 0x4a824b
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4a824b
push esi
mov ecx, ebx
call fcn.004a8790
mov ecx, dword [0x569c90]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
cmp eax, edx
mov byte [esp + 0x348], 0xe
jl 0x4a7d1d
lea eax, [esp + 0x20]
push 0xe22c
push eax
call fcn.0048d600
add esp, 8
mov byte [esp + 0x348], 0xf
jmp 0x4a7d37
lea ecx, [esp + 0x20]
push 0xe22d
push ecx
call fcn.0048d600
add esp, 8
mov byte [esp + 0x348], 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.00507e73
lea ecx, [esp + 0x20]
mov byte [esp + 0x348], 0xe
call fcn.00507d3a
mov edx, dword [esp + 0x10]
push 1
push 2
push edx
mov ecx, esi
call fcn.004d2190
mov ebx, dword [esp + 0x10]
lea eax, [edi + 8]
push eax
mov dword [esp + 0x60], edi
call ebp
push ebx
lea ecx, [esi + 0x3b4]
mov byte [esp + 0x34c], 0x11
call fcn.00507ec3
mov dword [esi + 0x3b8], 0x4d6
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 0xe
call dword [edx + 0x14]
push 0
push 2
push 0x10004
mov ecx, esi
call fcn.004d1ed0
mov edi, dword [0x572b10]
mov ecx, esi
call fcn.004a83d0
test edi, edi
mov dword [esi + 0x3c8], 1
jne 0x4a7dd0
mov dword [0x572b1c], esi
jmp 0x4a7e02
mov eax, dword [edi + 0x3bc]
mov dword [esi + 0x3c0], edi
mov dword [esi + 0x3bc], eax
mov dword [edi + 0x3bc], esi
mov eax, dword [esi + 0x3bc]
test eax, eax
je 0x4a7df8
mov dword [eax + 0x3c0], esi
mov eax, dword [esi + 0x3bc]
test eax, eax
jne 0x4a7e08
mov dword [0x572b10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x348], 1
call fcn.00507d3a
jmp 0x4a82c2
lea ecx, [esp + 0xd0]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x348], 0x19
call fcn.00507d3a
lea ecx, [esp + 0xd0]
mov byte [esp + 0x348], 0x18
call fcn.00507d3a
lea ecx, [esp + 0xcc]
mov byte [esp + 0x348], 0x17
call fcn.00507d3a
lea ecx, [esp + 0xc8]
mov byte [esp + 0x348], 0x16
call fcn.00507d3a
lea ecx, [esp + 0xc4]
mov byte [esp + 0x348], 0x15
call fcn.00507d3a
lea ecx, [esp + 0xa8]
mov byte [esp + 0x348], 0x14
call fcn.00404e10
lea ecx, [esp + 0x70]
mov byte [esp + 0x348], 1
call fcn.00404d90
jmp 0x4a7b76
mov ebx, dword [esp + 0x10]
push esi
mov ecx, ebx
call fcn.004a8790
mov edx, dword [0x569c90]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x50]
cmp ecx, eax
mov byte [esp + 0x348], 0x1e
jl 0x4a7efd
lea ecx, [esp + 0x14]
push 0xe22c
push ecx
call fcn.0048d600
add esp, 8
mov byte [esp + 0x348], 0x1f
jmp 0x4a7f17
lea edx, [esp + 0x14]
push 0xe22d
push edx
call fcn.0048d600
add esp, 8
mov byte [esp + 0x348], 0x20
lea ecx, [esp + 0x10]
push eax
call fcn.00507e73
lea ecx, [esp + 0x14]
mov byte [esp + 0x348], 0x1e
call fcn.00507d3a
mov eax, dword [esp + 0x10]
push 1
push 2
push eax
mov ecx, esi
call fcn.004d2190
mov ecx, dword [esp + 0x10]
lea edx, [edi + 8]
push edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x5c], edi
call ebp
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x3b4]
push eax
mov byte [esp + 0x34c], 0x21
call fcn.00507ec3
mov dword [esi + 0x3b8], 0x4d6
mov edx, dword [edi]
mov ecx, edi
mov byte [esp + 0x348], 0x1e
call dword [edx + 0x14]
push 0
push 2
push 0x10004
mov ecx, esi
call fcn.004d1ed0
mov edi, dword [0x572b10]
mov ecx, esi
call fcn.004a83d0
test edi, edi
mov dword [esi + 0x3c8], 1
jne 0x4a7fb8
mov dword [0x572b1c], esi
jmp 0x4a7fea
mov eax, dword [edi + 0x3bc]
mov dword [esi + 0x3c0], edi
mov dword [esi + 0x3bc], eax
mov dword [edi + 0x3bc], esi
mov eax, dword [esi + 0x3bc]
test eax, eax
je 0x4a7fe0
mov dword [eax + 0x3c0], esi
mov eax, dword [esi + 0x3bc]
test eax, eax
jne 0x4a7ff0
mov dword [0x572b10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x348], 0x1b
call fcn.00507d3a
lea ecx, [esp + 0x1dc]
mov byte [esp + 0x348], 0x24
call fcn.00505e85
lea ecx, [esp + 0x1a0]
mov byte [esp + 0x348], 0x23
call fcn.00505e85
lea ecx, [esp + 0x164]
mov byte [esp + 0x348], 0x22
call fcn.00512825
lea ecx, [esp + 0x108]
mov byte [esp + 0x348], 0x1a
call fcn.005084be
mov ecx, dword [esp + 0x24]
add ecx, 8
push ecx
call ebp
lea edx, [esp + 0xd0]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xdc]
mov byte [esp + 0x348], 0x2a
call fcn.00507d3a
lea ecx, [esp + 0xd0]
mov byte [esp + 0x348], 0x29
call fcn.00507d3a
lea ecx, [esp + 0xcc]
mov byte [esp + 0x348], 0x28
call fcn.00507d3a
lea ecx, [esp + 0xc8]
mov byte [esp + 0x348], 0x27
call fcn.00507d3a
lea ecx, [esp + 0xc4]
mov byte [esp + 0x348], 0x26
call fcn.00507d3a
mov byte [esp + 0x348], 0x25
jmp 0x4a821b
lea eax, [edi + 8]
mov dword [esp + 0x14], edi
push eax
call ebp
mov ecx, dword [esi + 0x208]
mov byte [esp + 0x348], 0x34
and ecx, 0x400
cmp ecx, 0x400
jne 0x4a811a
mov ecx, 0x571fb8
call fcn.00482de0
mov edx, dword [edi]
mov ecx, edi
mov ebp, eax
mov byte [esp + 0x348], 0x12
call dword [edx + 0x14]
jmp 0x4a812f
mov eax, dword [edi]
mov ebp, dword [esi + 0xc4]
mov ecx, edi
mov byte [esp + 0x348], 0x12
call dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, ebp
mov ebp, dword [esp + 0x354]
cmp ecx, eax
jl 0x4a8147
mov dword [ebp], 1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4a81c3
push 0xf4240
push 0
push edi
lea ecx, [esp + 0x34]
call fcn.004295c0
mov ecx, dword [esi + 0x208]
mov byte [esp + 0x348], 0x35
and ecx, 0x400
cmp ecx, 0x400
jne 0x4a819b
mov ecx, 0x571fb8
call fcn.00482de0
mov ecx, dword [esp + 0x28]
mov edi, eax
mov byte [esp + 0x348], 0x12
mov edx, dword [ecx]
call dword [edx + 0x14]
jmp 0x4a81b2
mov ecx, dword [esp + 0x28]
mov edi, dword [esi + 0x160]
mov byte [esp + 0x348], 0x12
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esp + 0x54]
mov eax, edi
cmp ecx, eax
jl 0x4a81c3
mov dword [ebp], 1
lea ecx, [esp + 0xd0]
mov byte [esp + 0x348], 0x3a
call fcn.00406c60
lea ecx, [esp + 0xcc]
mov byte [esp + 0x348], 0x39
call fcn.00507d3a
lea ecx, [esp + 0xc8]
mov byte [esp + 0x348], 0x38
call fcn.00507d3a
lea ecx, [esp + 0xc4]
mov byte [esp + 0x348], 0x37
call fcn.00507d3a
mov byte [esp + 0x348], 0x36
lea ecx, [esp + 0xa8]
call fcn.00404e10
lea ecx, [esp + 0x70]
mov byte [esp + 0x348], 1
call fcn.00404d90
jmp 0x4a824b
push esi
mov ecx, ebx
call fcn.004c5630
push 0xa
mov ecx, esi
call fcn.004d3bd0
cmp dword [esp + 0x40], 1
jne 0x4a82c2
mov ebp, dword [esp + 0x18]
mov ecx, 0x571fb8
dec ebp
call fcn.00482de0
mov edi, eax
push ebp
mov ecx, 0x571fb8
dec edi
call fcn.00482da0
push edi
mov ecx, 0x571fb8
call fcn.00482e10
push ebp
push 1
mov ecx, esi
call fcn.004a8370
mov ecx, 0x571fb8
call fcn.00482d70
push ecx
mov dword [esp + 0x1c], eax
mov ecx, esp
mov dword [esp + 0x60], esp
push str.SoftwareGlobalSCAPECuteFTP_8_ProfessionalSettings
call fcn.00507da8
push 3
mov ecx, 0x571fb8
call fcn.0047f500
mov eax, dword [ebx + 0xc]
push 1
push 3
push 0x350a
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x34]
mov byte [esp + 0x348], 0
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, edx
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x358]
lea ecx, [esp + 0x38]
setge dl
mov dword [eax], edx
call fcn.00507d3a
lea ecx, [esp + 0x30]
mov dword [esp + 0x348], 0xffffffff
call fcn.00507d3a
jmp 0x4a8322
push 0x4a8990
mov ecx, esi
call fcn.004d2f80
test eax, eax
jne 0x4a8322
push 0xa
mov ecx, esi
call fcn.004d3bd0
mov ecx, dword [esp + 0x340]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x33c
ret 0xc