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

Disassembly:
push ebp
mov eax, 0x432c
push edi
push esi
push ebx
call fcn.004719c0
sub esp, eax
mov edx, dword [0x47e018]
mov dword [esp], 4
mov dword [esp + 0x48], edx
call fcn.0047a2e8
cmp byte [0x4a2dc1], 0
mov dword [esp + 0x40], eax
mov dword [eax], 0xffffffff
jne 0x4290da
cmp byte [0x4a0b61], 0
je 0x4290cf
cmp byte [0x4a2d14], 0
jne 0x429098
cmp byte [0x4a0b60], 0
je 0x429aae
lea ebx, [esp + 0x2320]
mov dword [esp + 0xc], str.___API_will_not_be_available
mov dword [esp + 8], str.API_not_running_s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 4
call fcn.0042ace0
add esp, 0x432c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x10
call fcn.0047a2e8
mov dword [esp], 0xff98
mov dword [esp + 0x44], eax
call fcn.0047a2e8
mov ecx, dword [esp + 0x44]
mov dword [ecx], 0xff98
mov byte [ecx + 0xc], 1
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov byte [eax], 0
mov byte [ecx + 0xd], 0
mov byte [ecx + 0xe], 0
mov dword [esp], 0xc
call fcn.0047a2e8
mov edx, dword [esp + 0x44]
mov dword [eax], edx
mov edx, dword [0x4a0b58]
test edx, edx
je 0x42a095
mov dword [eax + 8], edx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x4a0b48
call fcn.0045f3f0
test eax, eax
jne 0x42a464
lea ecx, [esp + 0x2320]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x78]
mov dword [esp + 4], 0x421bb0
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.004645e0
mov ebx, dword [0x4a2c60]
mov eax, dword [esp + 0x4340]
test ebx, ebx
mov dword [0x4a0b4c], eax
je 0x42a0a5
mov dword [esp], ebx
call fcn.0047a2e0
lea esi, [eax + 1]
mov dword [esp], esi
call fcn.0047a2e8
test eax, eax
mov dword [esp + 0x4c], eax
je 0x4296e9
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047a3a8
mov edi, dword [esp + 0x4c]
cmp byte [edi], 0
je 0x429770
mov dword [esp + 4], 0x2c
mov dword [esp], edi
call fcn.0047a3f0
test eax, eax
mov dword [esp + 0x30], eax
je 0x429206
mov byte [eax], 0
add eax, 1
mov dword [esp + 0x30], eax
cmp byte [edi + 1], 0x3a
je 0x429269
mov dword [esp + 4], 0x3a
mov dword [esp], edi
call fcn.0047a3f0
test eax, eax
je 0x429223
mov byte [eax], 0
lea eax, [esp + 0x320]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.API_invalid_group_name__s
mov dword [esp + 4], 0x100
mov dword [esp], eax
call fcn.00471bd0
lea edx, [esp + 0x320]
mov dword [esp + 4], edx
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
movsx esi, byte [edi]
mov dword [esp], esi
call fcn.0047a410
movsx eax, al
mov dword [esp], eax
mov dword [esp + 0x2c], eax
call fcn.0047a410
mov dword [esp], 0x41
mov ebx, eax
call fcn.0047a410
cmp ebx, eax
jl 0x4292a5
mov dword [esp], 0x5a
call fcn.0047a410
cmp ebx, eax
jle 0x4292eb
lea ecx, [esp + 0x320]
mov dword [esp], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.API_invalid_group_name__c
mov dword [esp + 4], 0x100
call fcn.00471bd0
lea eax, [esp + 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov dword [esp], 0x57
call fcn.0047a410
cmp dword [esp + 0x2c], eax
je 0x42969a
mov dword [esp], 0x52
call fcn.0047a410
cmp dword [esp + 0x2c], eax
je 0x42964b
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call fcn.0047a410
mov dword [esp], 0x41
mov ebx, eax
call fcn.0047a410
sub ebx, eax
mov ebp, dword [ebx*4 + 0x4a6e80]
test ebp, ebp
je 0x429387
movsx eax, byte [edi]
lea ecx, [esp + 0x320]
mov dword [esp], ecx
mov dword [esp + 8], str.API_duplicate_group_name__c
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], eax
call fcn.00471bd0
lea eax, [esp + 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov ebx, edi
add ebx, 2
mov byte [esp + 0x2320], 0x7c
mov byte [esp + 0x2321], 0
je 0x429520
cmp byte [edi + 2], 0
je 0x429520
lea edx, [esp + 0x2321]
mov byte [esp + 0x38], 0
mov dword [esp + 0x3c], edx
lea esi, [esi]
mov dword [esp + 4], 0x3a
mov dword [esp], ebx
call fcn.0047a3f0
test eax, eax
mov ebp, eax
je 0x4293dc
mov byte [eax], 0
add ebp, 1
mov ecx, 2
mov esi, ebx
mov edi, 0x486323
repe cmpsb byte [esi], byte es:[edi]
je 0x429480
mov eax, dword [str.version]
test eax, eax
je 0x4295c2
xor esi, esi
jmp 0x429416
add esi, 1
lea eax, [esi + esi*2]
mov eax, dword [eax*4 + 0x47ec40]
test eax, eax
je 0x4295c2
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0047a3d8
test eax, eax
jne 0x429401
lea ebx, [esi + esi*2]
mov eax, dword [ebx*4 + 0x47ec40]
lea edx, [esp + 0x220]
mov dword [esp], edx
mov dword [esp + 4], str._s
mov dword [esp + 8], eax
call fcn.00420f20
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x220]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0047a3a0
test eax, eax
je 0x429615
test ebp, ebp
je 0x429489
cmp byte [ebp], 0
je 0x429489
mov ebx, ebp
jmp 0x4293c0
test ebp, ebp
mov byte [esp + 0x38], 1
jne 0x42946e
cmp byte [esp + 0x38], 0
je 0x429520
mov eax, dword [str.version]
test eax, eax
je 0x429520
mov ebx, 0x47ec48
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
jmp 0x4294ba
add ebx, 0xc
mov eax, dword [ebx - 8]
test eax, eax
je 0x429520
cmp byte [ebx], 0
jne 0x4294b0
lea ecx, [esp + 0x220]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str._s
call fcn.00420f20
lea eax, [esp + 0x220]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0047a3a0
test eax, eax
jne 0x4294b0
mov ebp, dword [ebx - 8]
add ebx, 0xc
mov dword [esp], edi
mov dword [esp + 4], ebp
call fcn.0047a360
mov dword [esp], ebp
call fcn.0047a2e0
add eax, edi
mov byte [eax], 0x7c
lea edi, [eax + 1]
mov byte [eax + 1], 0
mov eax, dword [ebx - 8]
test eax, eax
jne 0x4294ba
nop
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call fcn.0047a410
mov dword [esp], 0x41
mov ebx, eax
call fcn.0047a410
mov ecx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x429540
mov eax, edx
shr eax, 0x10
test edx, 0x8080
cmove edx, eax
lea eax, [ecx + 2]
cmove ecx, eax
add dl, dl
sbb ecx, 3
sub ebx, esi
sub ecx, dword [esp + 0x34]
add ecx, 1
mov dword [esp], ecx
call fcn.0047a2e8
test eax, eax
mov dword [ebx*4 + 0x4a6e80], eax
je 0x42a7d6
mov ecx, dword [esp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047a360
mov esi, dword [esp + 0x30]
test esi, esi
je 0x429770
mov eax, dword [esp + 0x30]
cmp byte [eax], 0
je 0x429770
mov edi, dword [esp + 0x30]
jmp 0x4291e4
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x320]
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.API_unknown_command__s_in_group__c
mov dword [esp + 0x10], edx
mov dword [esp + 4], 0x100
call fcn.00471bd0
lea eax, [esp + 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x42946a
mov edx, dword [esp + 0x3c]
mov ebx, dword [ebx*4 + 0x47ec40]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0047a360
mov dword [esp], ebx
call fcn.0047a2e0
add eax, dword [esp + 0x3c]
lea edx, [eax + 1]
mov byte [eax], 0x7c
mov dword [esp + 0x3c], edx
mov byte [eax + 1], 0
jmp 0x42946a
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x320]
mov dword [esp], ecx
mov dword [esp + 8], str.API_group_name_cant_be__c
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], edx
call fcn.00471bd0
lea eax, [esp + 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x429317
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x320]
mov dword [esp], ecx
mov dword [esp + 8], str.API_group_name_cant_be__c
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], edx
call fcn.00471bd0
lea eax, [esp + 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x429301
mov ecx, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 0x2320], 0x6c696146
mov dword [esp + 0x2324], 0x74206465
mov dword [esp + 4], ecx
mov dword [esp + 0x2328], 0x616d206f
mov dword [esp + 0x232c], 0x636f6c6c
mov dword [esp + 0x2330], 0x67706920
mov dword [esp + 0x2334], 0x70756f72
mov dword [esp + 0x2338], 0x75622073
mov word [esp + 0x233c], 0x66
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0047a360
mov esi, dword [str.version]
mov ebx, 0x47ec48
mov byte [esp + 0x2320], 0x7c
lea edi, [esp + 0x2321]
mov byte [esp + 0x2321], 0
test esi, esi
jne 0x4297aa
jmp 0x4297d9
add ebx, 0xc
mov esi, dword [ebx - 8]
test esi, esi
je 0x4297d9
cmp byte [ebx], 0
jne 0x4297a0
mov dword [esp + 4], esi
add ebx, 0xc
mov dword [esp], edi
call fcn.0047a360
mov dword [esp], esi
call fcn.0047a2e0
add eax, edi
mov byte [eax], 0x7c
lea edi, [eax + 1]
mov byte [eax + 1], 0
mov esi, dword [ebx - 8]
test esi, esi
jne 0x4297aa
mov dword [esp], 0x52
call fcn.0047a410
mov dword [esp], eax
call fcn.0047a410
mov dword [esp], 0x41
mov esi, eax
call fcn.0047a410
mov edx, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [edx]
add edx, 4
lea eax, [ecx - 0x1010101]
not ecx
and eax, ecx
and eax, 0x80808080
je 0x429801
mov ecx, eax
shr ecx, 0x10
test eax, 0x8080
cmove eax, ecx
lea ecx, [edx + 2]
cmove edx, ecx
add al, al
sbb edx, 3
sub esi, ebx
sub edx, dword [esp + 0x34]
add edx, 1
mov dword [esp], edx
call fcn.0047a2e8
test eax, eax
mov edi, eax
mov dword [esi*4 + 0x4a6e80], eax
je 0x42a736
mov edx, dword [esp + 0x34]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.0047a360
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0047a350
mov ebx, dword [0x49f048]
test ebx, ebx
je 0x429a09
mov dword [esp], ebx
call fcn.0047a2e0
add eax, 1
mov dword [esp], eax
call fcn.0047a2e8
test eax, eax
mov dword [esp + 0x30], eax
je 0x42a9c2
mov eax, dword [esp + 0x30]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0047a360
mov eax, dword [esp + 0x30]
mov ecx, 1
jmp 0x4298c3
add eax, 1
cmp dl, 0x2c
sete dl
movzx edx, dl
add ecx, edx
movzx edx, byte [eax]
test dl, dl
jne 0x4298b5
mov dword [esp + 4], 0xc
mov dword [esp], ecx
call fcn.0047a380
test eax, eax
mov dword [0x4a0b54], eax
je 0x42a951
mov ebx, dword [esp + 0x30]
mov dword [0x4a0b50], 0
test ebx, ebx
je 0x429c49
mov ecx, dword [esp + 0x30]
movzx eax, byte [ecx]
mov dword [esp + 0x2c], ecx
test al, al
je 0x429c49
cmp al, 0x20
mov ebx, dword [esp + 0x2c]
jne 0x429c3c
lea esi, [esi]
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x429920
cmp al, 0x20
je 0x429920
cmp al, 0x2c
je 0x429be2
mov dword [esp + 4], 0x2c
mov dword [esp], ebx
call fcn.0047a3f0
test eax, eax
mov dword [esp + 0x2c], eax
je 0x429958
mov byte [eax], 0
add eax, 1
mov dword [esp + 0x2c], eax
mov dword [esp], 0x52
call fcn.0047a410
mov edx, dword [0x4a8740]
cmp dword [edx], 1
mov esi, eax
movsx eax, byte [ebx]
jne 0x429ac0
mov ecx, dword [0x4a877c]
mov edx, dword [ecx]
movzx eax, word [edx + eax*2]
and eax, 0x103
test eax, eax
je 0x429997
cmp byte [ebx + 1], 0x3a
je 0x429bfa
mov ebp, dword [0x4a0b50]
mov ecx, esi
mov edi, 0x486325
mov eax, dword [0x4a0b54]
mov esi, ebx
lea edx, [ebp + ebp*2]
lea edx, [eax + edx*4]
mov byte [edx + 8], cl
mov ecx, 4
repe cmpsb byte [esi], byte es:[edi]
jne 0x429ad5
mov dword [edx + 4], 0
mov dword [edx], 0
add ebp, 1
mov dword [0x4a0b50], ebp
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4299ef
mov ecx, dword [esp + 0x2c]
movzx eax, byte [ecx]
test al, al
jne 0x429910
mov eax, dword [esp + 0x30]
mov ebx, dword [0x4a0b50]
mov dword [esp], eax
call fcn.0047a350
test ebx, ebx
je 0x429c55
imul eax, dword [0x47e038], 0x3e8
mov dword [esp], eax
call fcn.0041aa70
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call fcn.00459e30
sub esp, 0xc
cmp eax, 0xffffffff
mov edx, dword [esp + 0x40]
mov dword [edx], eax
jne 0x429cb7
cmp byte [0x4a2d14], 0
jne 0x429a68
cmp byte [0x4a0b60], 0
jne 0x429a68
mov eax, dword [0x47f720]
test eax, eax
js 0x4290cf
call fcn.00422150
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], str.___API_will_not_be_available
mov dword [esp + 8], str.API1_initialisation_failed___s__s
mov dword [esp + 4], 0x100
mov dword [esp], ecx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov eax, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.0042ace0
jmp 0x4290cf
cmp dword [0x47f720], 3
jle 0x4290cf
jmp 0x429098
mov dword [esp + 4], 0x103
mov dword [esp], eax
call fcn.0047a3d0
jmp 0x429989
mov dword [esp + 4], 0x2f
mov dword [esp], ebx
mov dword [esp + 0x28], edx
call fcn.0047a3f0
mov edx, dword [esp + 0x28]
test eax, eax
je 0x429bee
mov byte [eax], 0
add eax, 1
mov dword [esp], eax
call fcn.0047a338
sub eax, 1
cmp eax, 0x1f
ja 0x4299d8
mov ebp, dword [0x4a0b50]
xor esi, esi
mov edx, dword [0x4a0b54]
lea ecx, [ebp + ebp*2]
lea edx, [edx + ecx*4]
mov dword [esp + 0x38], edx
mov edi, eax
mov edx, 3
sar edi, 0x1f
shr edi, 0x1d
lea ecx, [eax + edi]
and ecx, 7
sub ecx, edi
mov edi, 1
shl edi, cl
mov ecx, eax
sar ecx, 3
sub eax, 1
sub edx, ecx
mov ecx, edx
shl ecx, 3
shl edi, cl
or esi, edi
cmp eax, 0xfffffffe
jne 0x429b28
mov edx, dword [esp + 0x38]
mov dword [edx + 4], esi
test ebx, ebx
mov dword [edx], 0
je 0x42a0b4
xor edi, edi
jmp 0x429b7c
cmp edi, 3
jg 0x429bd8
mov ebx, esi
mov dword [esp + 4], 0x2e
mov dword [esp], ebx
call fcn.0047a3f0
test eax, eax
mov esi, eax
je 0x429b98
mov byte [eax], 0
add esi, 1
mov dword [esp], ebx
call fcn.0047a338
cmp eax, 0xff
ja 0x4299d8
mov ebp, dword [0x4a0b50]
mov edx, dword [0x4a0b54]
lea ecx, [ebp + ebp*2]
lea edx, [edx + ecx*4]
mov ecx, edi
neg ecx
add edi, 1
lea ecx, [ecx*8 + 0x18]
shl eax, cl
mov ecx, dword [edx]
or ecx, eax
test esi, esi
mov dword [edx], ecx
jne 0x429b75
and ecx, dword [edx + 4]
mov dword [edx], ecx
jmp 0x4299cf
add ebx, 1
mov dword [esp + 0x2c], ebx
jmp 0x4299d8
mov dword [edx + 4], 0xffffffff
jmp 0x429b63
movsx eax, byte [ebx]
mov dword [esp], eax
call fcn.0047a410
mov dword [esp], 0x57
mov edi, eax
call fcn.0047a410
cmp edi, eax
je 0x429c32
mov dword [esp], 0x41
call fcn.0047a410
mov edx, edi
sub edx, eax
mov ecx, dword [edx*4 + 0x4a6e80]
test ecx, ecx
je 0x429c34
mov esi, edi
add ebx, 2
jmp 0x429997
cmp al, 9
je 0x429920
jmp 0x42992e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0047a350
cmp byte [0x4a2d14], 0
jne 0x429c74
cmp byte [0x4a0b60], 0
jne 0x429c74
mov eax, dword [0x47f720]
test eax, eax
jle 0x4290cf
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], str.___API_will_not_be_available
mov dword [esp + 8], str.API_not_running__no_valid_IPs_specified__s
mov dword [esp + 4], 0x100
mov dword [esp], edx
call fcn.00471bd0
mov ecx, dword [esp + 0x34]
mov dword [esp], 1
mov dword [esp + 4], ecx
call fcn.0042ace0
add esp, 0x432c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x49f048]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test eax, eax
mov dword [esp + 0x64], 0
mov word [esp + 0x58], 2
je 0x42a370
movzx eax, word [esp + 0x48]
movsx ebx, word [esp + 0x48]
mov dword [esp], eax
call fcn.00459e60
movsx edi, bx
sub esp, 4
mov dword [esp], 0
lea esi, [esp + 0x58]
mov word [esp + 0x5a], ax
call fcn.0047a328
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], 0x10
mov dword [esp + 4], esi
mov eax, dword [ecx]
mov dword [esp], eax
call fcn.00459e68
sub esp, 0xc
cmp eax, 0xffffffff
je 0x42a015
mov edx, dword [esp + 0x40]
mov dword [esp + 4], 0x64
mov eax, dword [edx]
mov dword [esp], eax
call fcn.00459e70
sub esp, 8
cmp eax, 0xffffffff
je 0x42a869
mov edi, dword [0x49f048]
test edi, edi
je 0x42a4e5
cmp byte [0x4a2d14], 0
jne 0x429d8e
cmp byte [0x4a0b60], 0
jne 0x429d8e
mov esi, dword [0x47f720]
test esi, esi
jle 0x429dcc
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.API_running_in_IP_access_mode_on_port__d___d_
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0x100
mov dword [esp], eax
call fcn.00471bd0
mov edx, dword [esp + 0x34]
mov dword [esp], 1
mov dword [esp + 4], edx
call fcn.0042ace0
cmp byte [0x4a0b44], 0
lea ebx, [esp + 0x220]
mov ebp, dword [esp + 0x44]
jne 0x429f36
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [edx]
mov dword [esp + 0x54], 0x10
mov dword [esp], eax
call fcn.00459e78
sub esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x2c], eax
je 0x42a8dc
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00459e80
sub esp, 4
mov dword [esp], 0x52
mov dword [esp + 0x38], eax
call fcn.0047a410
mov byte [esp + 0x3c], al
mov eax, dword [0x49f048]
test eax, eax
je 0x42a2d6
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00459e88
mov edi, dword [0x4a0b50]
sub esp, 4
test edi, edi
jle 0x42a94a
mov esi, dword [0x4a0b54]
mov edx, dword [esi + 4]
and edx, eax
cmp edx, dword [esi]
je 0x42a2c4
mov dword [esp + 0x30], ebp
lea edx, [esi + 0xc]
xor ecx, ecx
mov ebp, edi
jmp 0x429e9a
mov esi, edx
add edx, 0xc
mov edi, dword [esi + 4]
and edi, eax
cmp edi, dword [edx - 0xc]
je 0x42a2c0
add ecx, 1
cmp ecx, ebp
jne 0x429e87
mov ebp, dword [esp + 0x30]
xor esi, esi
cmp byte [0x4a0b61], 0
je 0x429f10
cmp byte [0x4a2d14], 0
jne 0x429ecb
cmp byte [0x4a0b60], 0
jne 0x429ecb
cmp dword [0x47f720], 3
jle 0x429f10
mov ecx, dword [esp + 0x38]
mov edx, esi
mov eax, str.Accepted
test dl, dl
mov edx, str.Ignored
cmove eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.API:_connection_from__s____s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 4
call fcn.0042ace0
mov eax, esi
test al, al
jne 0x42a0bd
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00459e20
sub esp, 4
cmp byte [0x4a0b44], 0
je 0x429de4
mov dword [esp], 1
call fcn.00464660
cmp byte [0x4a0b61], 0
je 0x429fc9
cmp byte [0x4a2d14], 0
jne 0x429f66
cmp byte [0x4a0b60], 0
jne 0x429f66
cmp dword [0x47f720], 3
jle 0x429fc9
cmp byte [0x4a0b45], 0
mov eax, str.QUIT
jne 0x429f96
cmp byte [0x4a0b46], 0
mov eax, str.RESTART
jne 0x429f96
cmp byte [0x4a0b44], 0
mov eax, 0x485730
mov edx, str.UNKNOWN_
cmove eax, edx
lea ebx, [esp + 0x220]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.API:_terminating_due_to:__s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 4
call fcn.0042ace0
mov dword [esp], 0x4a0b48
call fcn.00460dd0
test eax, eax
jne 0x42a684
cmp byte [0x4a0b46], 0
jne 0x42a5b5
cmp byte [0x4a0b45], 0
jne 0x42a56e
mov dword [esp], 0x4a0b48
call fcn.004603e0
test eax, eax
jne 0x42a564
call fcn.0045fb60
jmp 0x4290cf
call fcn.00422150
mov dword [esp], 0
mov ebp, eax
call fcn.0047a328
sub eax, dword [esp + 0x2c]
cmp eax, 0x3d
jg 0x42a400
cmp byte [0x4a2d14], 0
jne 0x42a050
cmp byte [0x4a0b60], 0
jne 0x42a050
mov eax, dword [0x47f720]
test eax, eax
jle 0x42a084
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov dword [esp + 8], str.API_bind_to_port__d_failed___trying_again_in_30sec
mov dword [esp + 4], 0x100
mov dword [esp], eax
call fcn.00471bd0
mov edx, dword [esp + 0x34]
mov dword [esp], 1
mov dword [esp + 4], edx
call fcn.0042ace0
mov dword [esp], 0x7530
call fcn.0041aa70
jmp 0x429d1c
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov dword [0x4a0b58], eax
jmp 0x429147
mov esi, 1
mov ebx, 0x4855a6
jmp 0x4291af
xor ecx, ecx
mov dword [edx], ecx
jmp 0x4299cf
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x320]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1fff
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00459e18
sub esp, 0x10
cmp eax, 0xffffffff
mov esi, eax
je 0x42a302
cmp byte [0x4a0b61], 0
mov byte [esp + eax + 0x320], 0
je 0x42a155
cmp byte [0x4a2d14], 0
jne 0x42a11e
cmp byte [0x4a0b60], 0
jne 0x42a11e
cmp dword [0x47f720], 3
jle 0x42a155
lea edx, [esp + 0x320]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], str.API:_recv_command:___d___s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 4
call fcn.0042ace0
mov dword [esp], 0
call fcn.0047a328
mov dword [0x4a0b40], eax
mov eax, dword [ebp + 4]
mov dword [ebp + 8], eax
mov byte [eax], 0
cmp byte [esp + 0x320], 0x7b
mov byte [ebp + 0xd], 0
mov byte [ebp + 0xe], 0
je 0x42aa35
lea ecx, [esp + 0x320]
mov dword [esp + 4], 0x7c
mov dword [esp], ecx
call fcn.0047a3f0
test eax, eax
mov edx, eax
je 0x42aa23
mov byte [eax], 0
lea eax, [esp + 0x320]
add edx, 1
xor esi, esi
mov dword [esp + 0x30], eax
mov eax, dword [str.version]
xor edi, edi
test eax, eax
jne 0x42a1e5
jmp 0x42aad2
add edi, 1
lea eax, [edi + edi*2]
mov eax, dword [eax*4 + 0x47ec40]
test eax, eax
je 0x42aad2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], edx
mov dword [esp], eax
call fcn.0047a398
mov edx, dword [esp + 0x28]
test eax, eax
jne 0x42a1d0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc0]
mov dword [esp], ecx
mov dword [esp + 4], str._s
mov dword [esp + 8], eax
call fcn.00420f20
movsx ecx, byte [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 0x30], ecx
call fcn.0047a410
mov dword [esp], 0x57
mov dword [esp + 0x3c], eax
call fcn.0047a410
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x3c], eax
je 0x42a283
mov dword [esp], 0x41
call fcn.0047a410
lea ecx, [esp + 0xc0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [ecx*4 + 0x4a6e80]
mov dword [esp], eax
call fcn.0047a3a0
mov edx, dword [esp + 0x28]
test eax, eax
je 0x42aaf0
mov ecx, dword [esp + 0x30]
lea eax, [edi + edi*2]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], esi
mov dword [esp], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 4], edx
call dword [eax*4 + 0x47ec44]
mov edx, dword [esp + 0x2c]
mov ecx, esi
mov eax, ebp
call fcn.004221c0
jmp 0x429f1a
mov ebp, dword [esp + 0x30]
movzx edx, byte [esi + 8]
mov esi, 1
mov byte [esp + 0x3c], dl
jmp 0x429ea7
cmp byte [0x4a2d88], 0
mov esi, 1
jne 0x429ea7
mov esi, dword [esp + 0x38]
mov ecx, 0xa
mov edi, str.127.0.0.1
repe cmpsb byte [esi], byte es:[edi]
sete cl
mov esi, ecx
jmp 0x429ea7
cmp byte [0x4a0b61], 0
mov byte [esp + 0x320], 0
je 0x429f1a
cmp byte [0x4a2d14], 0
jne 0x42a336
cmp byte [0x4a0b60], 0
jne 0x42a336
cmp dword [0x47f720], 3
jle 0x429f1a
call fcn.00422150
mov dword [esp + 8], str.API:_recv_failed:__s
mov dword [esp + 4], 0x100
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 4
call fcn.0042ace0
jmp 0x429f1a
cmp byte [0x4a2d88], 0
jne 0x429ceb
mov dword [esp], str.127.0.0.1
call fcn.00459e90
sub esp, 4
cmp eax, 0xffffffff
mov dword [esp + 0x5c], eax
jne 0x429ceb
cmp byte [0x4a2d14], 0
jne 0x42a3b8
cmp byte [0x4a0b60], 0
jne 0x42a3b8
mov eax, dword [0x47f720]
test eax, eax
js 0x4290cf
call fcn.00422150
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], str.___API_will_not_be_available
mov dword [esp + 8], str.API2_initialisation_failed___s__s
mov dword [esp + 4], 0x100
mov dword [esp], edx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov ecx, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 4], ecx
call fcn.0042ace0
jmp 0x4290cf
cmp byte [0x4a2d14], 0
jne 0x42a41f
cmp byte [0x4a0b60], 0
jne 0x42a41f
mov eax, dword [0x47f720]
test eax, eax
js 0x4290cf
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x14], str.___API_will_not_be_available
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.API_bind_to_port__d_failed___s__s
mov dword [esp + 4], 0x100
mov dword [esp], ecx
call fcn.00471bd0
mov eax, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.0042ace0
jmp 0x4290cf
lea eax, [esp + 0x2320]
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x2320], 0x6c696146
mov dword [esp + 0x2324], 0x74206465
mov dword [esp + 0x2328], 0x7470206f
mov dword [esp + 0x232c], 0x61657268
mov dword [esp + 0x2330], 0x756d5f64
mov dword [esp + 0x2334], 0x5f786574
mov dword [esp + 0x2338], 0x74696e69
mov byte [esp + 0x233c], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x42916e
cmp byte [0x4a2d88], 0
je 0x42a529
cmp byte [0x4a2d14], 0
jne 0x42a50e
cmp byte [0x4a0b60], 0
jne 0x42a50e
mov ecx, dword [0x47f720]
test ecx, ecx
jle 0x429dcc
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.API_running_in_UNRESTRICTED_read_access_mode_on_port__d___d_
mov dword [esp + 0x10], eax
jmp 0x429da4
cmp byte [0x4a2d14], 0
jne 0x42a549
cmp byte [0x4a0b60], 0
jne 0x42a549
mov edx, dword [0x47f720]
test edx, edx
jle 0x429dcc
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.API_running_in_local_read_access_mode_on_port__d___d_
mov dword [esp + 0x10], eax
jmp 0x429da4
call fcn.0047d69e
jmp 0x42a00b
lea ecx, [esp + 0x78]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0x421a10
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.0041e240
test eax, eax
jne 0x42a695
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004618d0
jmp 0x429ff7
lea edx, [esp + 0x78]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x421ae0
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.0041e240
test eax, eax
je 0x42a596
mov eax, 0x4a0b48
call fcn.004219f0
lea eax, [esp + 0x220]
mov dword [esp + 0x220], 0x20495041
mov dword [esp + 0x224], 0x6c696166
mov dword [esp + 0x228], 0x74206465
mov dword [esp + 0x22c], 0x6e69206f
mov dword [esp + 0x230], 0x61697469
mov dword [esp + 0x234], 0x61206574
mov dword [esp + 0x238], 0x73657220
mov dword [esp + 0x23c], 0x74726174
mov dword [esp + 0x240], 0x61202d20
mov dword [esp + 0x244], 0x74726f62
mov dword [esp + 0x248], 0x676e69
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x42a596
call fcn.0047d65f
lea esi, [esi]
jmp 0x429fdd
mov eax, 0x4a0b48
call fcn.004219f0
lea eax, [esp + 0x220]
mov dword [esp + 0x220], 0x20495041
mov dword [esp + 0x224], 0x6c696166
mov dword [esp + 0x228], 0x74206465
mov dword [esp + 0x22c], 0x6e69206f
mov dword [esp + 0x230], 0x61697469
mov dword [esp + 0x234], 0x61206574
mov dword [esp + 0x238], 0x656c6320
mov dword [esp + 0x23c], 0x71206e61
mov dword [esp + 0x240], 0x20746975
mov dword [esp + 0x244], 0x6261202d
mov dword [esp + 0x248], 0x6974726f
mov word [esp + 0x24c], 0x676e
mov byte [esp + 0x24e], 0
jmp 0x42a663
lea eax, [esp + 0x320]
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [esp + 0x320], 0x6c696146
mov dword [esp + 0x324], 0x74206465
mov dword [esp + 0x328], 0x616d206f
mov dword [esp + 0x32c], 0x636f6c6c
mov dword [esp + 0x330], 0x706f6e20
mov dword [esp + 0x334], 0x67766972
mov dword [esp + 0x338], 0x70756f72
mov dword [esp + 0x33c], 0x6d6f6320
mov dword [esp + 0x340], 0x646e616d
mov dword [esp + 0x344], 0x75622073
mov word [esp + 0x348], 0x66
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x429851
lea edx, [esp + 0x320]
mov dword [esp + 4], edx
mov dword [esp], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x320], 0x6c696146
mov dword [esp + 0x324], 0x74206465
mov dword [esp + 0x328], 0x616d206f
mov dword [esp + 0x32c], 0x636f6c6c
mov dword [esp + 0x330], 0x6f726720
mov dword [esp + 0x334], 0x63207075
mov dword [esp + 0x338], 0x616d6d6f
mov dword [esp + 0x33c], 0x2073646e
mov dword [esp + 0x340], 0x667562
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov eax, dword [esp + 0x28]
jmp 0x429590
cmp byte [0x4a2d14], 0
jne 0x42a885
cmp byte [0x4a0b60], 0
jne 0x42a885
mov ebp, dword [0x47f720]
test ebp, ebp
js 0x42a8c6
call fcn.00422150
mov edx, dword [esp + 0x34]
mov dword [esp + 0x10], str.___API_will_not_be_available
mov dword [esp + 8], str.API3_initialisation_failed___s__s
mov dword [esp + 4], 0x100
mov dword [esp], edx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov ecx, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 4], ecx
call fcn.0042ace0
mov edx, dword [esp + 0x40]
mov eax, dword [edx]
mov dword [esp], eax
call fcn.00459e20
sub esp, 4
jmp 0x4290cf
cmp byte [0x4a2d14], 0
jne 0x42a8fb
cmp byte [0x4a0b60], 0
jne 0x42a8fb
mov eax, dword [0x47f720]
test eax, eax
js 0x429f36
mov eax, dword [esp + 0x40]
mov ebx, dword [eax]
call fcn.00422150
mov dword [esp + 0x10], str.___API_will_not_be_available
mov dword [esp + 8], str.API_failed___s__s___d_
mov dword [esp + 0x14], ebx
lea ebx, [esp + 0x220]
mov dword [esp + 4], 0x100
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
jmp 0x429f36
xor esi, esi
jmp 0x429ea7
mov edx, dword [esp + 0x34]
mov dword [esp], 0
mov dword [esp + 0x2320], 0x6c696146
mov dword [esp + 0x2324], 0x74206465
mov dword [esp + 4], edx
mov dword [esp + 0x2328], 0x6163206f
mov dword [esp + 0x232c], 0x636f6c6c
mov dword [esp + 0x2330], 0x61706920
mov dword [esp + 0x2334], 0x73656363
mov word [esp + 0x2338], 0x73
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
jmp 0x4298e7
mov edx, dword [esp + 0x34]
mov dword [edx], 0x6c696146
mov dword [edx + 4], 0x74206465
mov dword [edx + 8], 0x616d206f
mov dword [edx + 0xc], 0x636f6c6c
mov dword [edx + 0x10], 0x61706920
mov dword [edx + 0x14], 0x73656363
mov dword [edx + 0x18], 0x75622073
mov word [edx + 0x1c], 0x66
mov dword [esp + 4], edx
mov dword [esp], 0
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov ebx, dword [0x49f048]
jmp 0x42989a
lea eax, [esp + 0x320]
xor esi, esi
mov dword [esp + 0x30], eax
jmp 0x42a1b9
lea eax, [esp + 0x124]
lea edx, [esp + 0x320]
mov dword [esp + 4], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp], edx
call fcn.0045c6e0
test eax, eax
mov esi, eax
je 0x42aa67
mov eax, dword [eax]
test eax, eax
je 0x42aa99
mov dword [esp + 4], 1
xor ecx, ecx
mov edx, 0x17
mov dword [esp], 0
mov eax, ebp
call fcn.00422820
mov edx, dword [esp + 0x2c]
mov ecx, 1
mov eax, ebp
call fcn.004221c0
jmp 0x429f1a
mov dword [esp + 4], str.command
mov dword [esp], esi
call fcn.0045a090
test eax, eax
je 0x42abeb
cmp dword [eax], 2
je 0x42ab7e
mov dword [esp + 4], 1
xor ecx, ecx
mov edx, 0xe
mov dword [esp], 0
jmp 0x42aa7d
mov dword [esp + 4], esi
xor ecx, ecx
mov edx, 0xe
mov dword [esp], 0
mov eax, ebp
call fcn.00422820
jmp 0x42a2a8
lea eax, [edi + edi*2]
xor ecx, ecx
mov eax, dword [eax*4 + 0x47ec40]
mov edx, 0x2d
mov dword [esp + 4], esi
mov dword [esp], eax
mov eax, ebp
call fcn.00422820
cmp byte [0x4a0b61], 0
je 0x42a2a8
cmp byte [0x4a2d14], 0
jne 0x42ab3b
cmp byte [0x4a0b60], 0
jne 0x42ab3b
cmp dword [0x47f720], 3
jle 0x42a2a8
lea eax, [edi + edi*2]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax*4 + 0x47ec40]
mov dword [esp + 8], str.API:_access_denied_to__s_for__s_command
mov dword [esp + 4], 0x100
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp], ebx
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 4
call fcn.0042ace0
jmp 0x42a2a8
mov dword [esp], eax
call fcn.0045a490
mov dword [esp + 4], str.parameter
mov dword [esp], esi
mov dword [esp + 0x30], eax
call fcn.0045a090
test eax, eax
je 0x42ac48
mov ecx, dword [eax]
cmp ecx, 2
je 0x42ac34
cmp ecx, 3
je 0x42ac06
xor edx, edx
cmp ecx, 4
mov esi, 1
jne 0x42a1b9
mov dword [esp], eax
call fcn.0045a620
mov eax, dword [esp + 0x34]
mov dword [esp + 4], 0x4855da
mov dword [esp], eax
fstp qword [esp + 8]
call fcn.00420f20
mov edx, dword [esp + 0x34]
jmp 0x42a1b9
mov dword [esp + 4], 1
xor ecx, ecx
mov edx, 0x18
mov dword [esp], 0
jmp 0x42aa7d
mov dword [esp], eax
mov esi, 1
call fcn.0045a5a0
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], 0x4855ca
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00420f20
mov edx, dword [esp + 0x34]
jmp 0x42a1b9
mov dword [esp], eax
mov esi, 1
call fcn.0045a490
mov edx, eax
jmp 0x42a1b9
mov esi, 1
xor edx, edx
jmp 0x42a1b9