Function at 0x4074b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x44075b
push eax
mov eax, 0x549c
mov dword fs:[0], esp
call fcn.0041cae0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x340]
call fcn.004110f0
lea ecx, [esp + 0x234]
mov dword [esp + 0x54b4], 0
call fcn.0040cac0
mov ebx, 1
lea eax, [esi + 0x124]
push ebx
mov byte [esp + 0x54b8], bl
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x128], esp
push eax
call fcn.0040cc00
lea ecx, [esp + 0x450]
call fcn.004113b0
test eax, eax
jge 0x407536
mov byte [esi + 0x558], bl
push 0
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x128], esp
push str.srcsvrnum
call fcn.0040cb60
lea ecx, [esp + 0x238]
mov byte [esp + 0x55c4], 2
push ecx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 3
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 4
call fcn.00412b40
lea ecx, [esp + 0x128]
mov word [esi + 0x10], ax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
mov eax, 8
cmp word [esi + 0x10], ax
jbe 0x4075c7
mov word [esi + 0x10], ax
mov ax, word [esi + 0x10]
test ax, ax
jbe 0x407637
and eax, 0xffff
mov edi, eax
mov edx, edi
shl edx, 4
add edx, edi
shl edx, 4
add edx, 4
push edx
call fcn.0041c779
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x54b4], 5
je 0x40761c
push 0x4021f0
push 0x4081a0
lea ebp, [eax + 4]
push edi
push 0x110
push ebp
mov dword [eax], edi
call fcn.0041c974
mov eax, ebp
jmp 0x40761e
xor eax, eax
test eax, eax
mov byte [esp + 0x54b4], bl
mov dword [esi + 0x55c], eax
jne 0x407637
or ebx, 0xffffffff
jmp 0x408147
xor ebp, ebp
cmp word [esi + 0x10], bp
jbe 0x4077c9
xor edi, edi
push str.srcsvr
lea ecx, [esp + 0x238]
call fcn.0040cdd0
push ebp
lea ecx, [esp + 0x12c]
call fcn.0040cb20
push eax
lea ecx, [esp + 0x238]
mov byte [esp + 0x54b8], 6
call fcn.0040ce60
lea ecx, [esp + 0x128]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x11c], esp
push 0x471c7c
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x56cc], 7
mov ecx, esp
mov dword [esp + 0x230], esp
push 0x44aa64
call fcn.0040cb60
sub esp, 0x10c
lea eax, [esp + 0x558]
mov ecx, esp
mov dword [esp + 0x338], esp
push eax
mov byte [esp + 0x57dc], 8
call fcn.0040cc00
lea ecx, [esp + 0x340]
mov byte [esp + 0x57d8], bl
push ecx
lea ecx, [esp + 0x668]
call fcn.00412a00
mov ecx, dword [esi + 0x55c]
push eax
add ecx, edi
mov byte [esp + 0x54b8], 9
call fcn.0040cd40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
push 0
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.port
call fcn.0040cb60
sub esp, 0x10c
lea edx, [esp + 0x450]
mov ecx, esp
mov dword [esp + 0x22c], esp
push edx
mov byte [esp + 0x56d4], 0xa
call fcn.0040cc00
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], bl
call fcn.00412b40
mov ecx, dword [esi + 0x55c]
mov word [ecx + edi + 0x10c], ax
mov ecx, dword [esi + 0x55c]
add ecx, edi
call fcn.0040d280
test al, al
jne 0x407902
mov edx, dword [esi + 0x55c]
cmp word [edx + edi + 0x10c], 0
je 0x407902
xor eax, eax
inc ebp
mov ax, word [esi + 0x10]
add edi, 0x110
cmp ebp, eax
jl 0x407645
push 0
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.clientnum
call fcn.0040cb60
lea ecx, [esp + 0x12c]
mov byte [esp + 0x55c4], 0xb
push ecx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0xc
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0xd
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov word [esi + 0x12], ax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
mov eax, 0x40
cmp word [esi + 0x12], ax
jbe 0x407857
mov word [esi + 0x12], ax
push 0
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.ipnum
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x56d0], 0xe
mov ecx, esp
mov dword [esp + 0x22c], esp
push str.iptable
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], bl
call fcn.00412b40
test ax, ax
mov word [esi + 0x564], ax
jbe 0x407929
and eax, 0xffff
mov edi, eax
mov edx, edi
shl edx, 5
add edx, edi
lea eax, [edi + edx*2]
lea ecx, [eax*4 + 4]
push ecx
call fcn.0041c779
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x54b4], 0xf
je 0x40790c
push fcn.0040cd10
push fcn.0040cac0
lea ebp, [eax + 4]
push edi
push 0x10c
push ebp
mov dword [eax], edi
call fcn.0041c974
mov eax, ebp
jmp 0x40790e
mov ebx, 0xfffffffe
jmp 0x408147
xor eax, eax
test eax, eax
mov byte [esp + 0x54b4], bl
mov dword [esi + 0x560], eax
jne 0x407929
mov ebx, 0xfffffffd
jmp 0x408147
xor ebp, ebp
cmp word [esi + 0x564], bp
jbe 0x407a49
xor edi, edi
push 0x44aa64
lea ecx, [esp + 0x238]
call fcn.0040cdd0
push ebp
lea ecx, [esp + 0x20]
call fcn.0040cb20
push eax
lea ecx, [esp + 0x238]
mov byte [esp + 0x54b8], 0x10
call fcn.0040ce60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x120], esp
push 0x471c7c
call fcn.0040cb60
sub esp, 0x10c
lea edx, [esp + 0x44c]
mov ecx, esp
mov dword [esp + 0x228], esp
push edx
mov byte [esp + 0x56d0], 0x11
call fcn.0040cc00
sub esp, 0x10c
mov byte [esp + 0x57d8], 0x12
mov ecx, esp
mov dword [esp + 0x33c], esp
push str.iptable
call fcn.0040cb60
lea eax, [esp + 0x44c]
lea ecx, [esp + 0x664]
push eax
mov byte [esp + 0x57dc], bl
call fcn.00412a00
mov ecx, dword [esi + 0x560]
push eax
add ecx, edi
mov byte [esp + 0x54b8], 0x13
call fcn.0040cd40
lea ecx, [esp + 0x128]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
mov ecx, dword [esi + 0x560]
add ecx, edi
call fcn.0040d280
test al, al
jne 0x407e65
xor ecx, ecx
inc ebp
mov cx, word [esi + 0x564]
add edi, 0x10c
cmp ebp, ecx
jl 0x40793a
push str.127.0.0.1
lea ecx, [esi + 0x230]
call fcn.0040cdd0
push 0
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.mgrsvrport
call fcn.0040cb60
lea edx, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x14
push edx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x15
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x16
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov word [esi + 0x33c], ax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
push 0x1b59
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.listenport
call fcn.0040cb60
lea eax, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x17
push eax
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x18
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x19
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov word [esi + 0x14], ax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
push 0xc8000
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.databufsize
call fcn.0040cb60
lea ecx, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x1a
push ecx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x1b
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x1c
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov dword [esi], eax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
cmp dword [esi], 0xc8000
jae 0x407beb
mov dword [esi], 0xc8000
mov edi, 0x14000
push edi
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.slotbufsize
call fcn.0040cb60
lea edx, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x1d
push edx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x1e
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x1f
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov dword [esi + 4], eax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
cmp dword [esi + 4], edi
jae 0x407c75
mov dword [esi + 4], edi
mov edi, 0xa000
push edi
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.clientbufsize
call fcn.0040cb60
lea eax, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x20
push eax
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x21
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x22
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov dword [esi + 8], eax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
cmp dword [esi + 8], edi
jae 0x407cff
mov dword [esi + 8], edi
push 7
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.reservedays
call fcn.0040cb60
lea ecx, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x23
push ecx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x24
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x25
call fcn.00412b40
lea ecx, [esp + 0x1c]
mov dword [esi + 0xc], eax
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x407d87
mov dword [esi + 0xc], ebx
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x120], esp
push str.08:30:00
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x56cc], 0x26
mov ecx, esp
mov dword [esp + 0x228], esp
push str.resettime
call fcn.0040cb60
lea edx, [esp + 0x340]
mov byte [esp + 0x56cc], 0x27
push edx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x56cc], 0x28
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x33c], esp
push eax
call fcn.0040cb60
lea eax, [esp + 0x340]
lea ecx, [esp + 0x664]
push eax
mov byte [esp + 0x57dc], 0x29
call fcn.00412a00
lea edi, [esi + 0x18]
push eax
mov ecx, edi
mov byte [esp + 0x54b8], 0x2a
call fcn.0040cd40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54b4], 0x29
call fcn.0040cd10
lea ecx, [esp + 0x128]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
mov ecx, edi
call fcn.0040d260
cmp eax, 5
jbe 0x407e6f
mov ecx, esi
call fcn.004091b0
jmp 0x407e79
mov ebx, 0xfffffffc
jmp 0x408147
mov dword [esi + 0x5e8], 0
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x120], esp
push str.17:30:00
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x56cc], 0x2b
mov ecx, esp
mov dword [esp + 0x228], esp
push str.unexpectbegintime
call fcn.0040cb60
lea ecx, [esp + 0x340]
mov byte [esp + 0x56cc], 0x2c
push ecx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x56cc], 0x2d
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x33c], esp
push eax
call fcn.0040cb60
lea edx, [esp + 0x340]
lea ecx, [esp + 0x664]
push edx
mov byte [esp + 0x57dc], 0x2e
call fcn.00412a00
push eax
lea ecx, [esi + 0x340]
mov byte [esp + 0x54b8], 0x2f
call fcn.0040cd40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54b4], 0x2e
call fcn.0040cd10
lea ecx, [esp + 0x128]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x120], esp
push str.08:00:00
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x56cc], 0x30
mov ecx, esp
mov dword [esp + 0x228], esp
push str.unexpectendtime
call fcn.0040cb60
lea eax, [esp + 0x340]
mov byte [esp + 0x56cc], 0x31
push eax
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x56cc], 0x32
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x33c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x340]
mov byte [esp + 0x57d8], 0x33
push ecx
lea ecx, [esp + 0x668]
call fcn.00412a00
mov byte [esp + 0x54b4], 0x34
push eax
lea ecx, [esi + 0x44c]
call fcn.0040cd40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54b4], 0x33
call fcn.0040cd10
lea ecx, [esp + 0x128]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
push ebx
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x124], esp
push str.issavedata
call fcn.0040cb60
lea edx, [esp + 0x12c]
mov byte [esp + 0x55c4], 0x35
push edx
call fcn.00401890
add esp, 4
mov ecx, eax
mov byte [esp + 0x55c4], 0x36
call fcn.0040e730
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x22c], esp
push eax
call fcn.0040cb60
lea ecx, [esp + 0x55c]
mov byte [esp + 0x56d0], 0x37
call fcn.00412c80
lea ecx, [esp + 0x1c]
mov byte [esi + 0x5ec], al
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
sub esp, 0x10c
mov ecx, esp
mov dword [esp + 0x120], esp
push 0x471c7c
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x56cc], 0x38
mov ecx, esp
mov dword [esp + 0x228], esp
push str.holiday
call fcn.0040cb60
sub esp, 0x10c
mov byte [esp + 0x57d8], 0x39
mov ecx, esp
mov dword [esp + 0x33c], esp
push str.other
call fcn.0040cb60
lea eax, [esp + 0x340]
lea ecx, [esp + 0x664]
push eax
mov byte [esp + 0x57dc], bl
call fcn.00412a00
add esi, 0x600
push eax
mov ecx, esi
mov byte [esp + 0x54b8], 0x3a
call fcn.0040cd40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54b4], bl
call fcn.0040cd10
push 0x471c7c
push esi
call fcn.0040d170
add esp, 8
test al, al
je 0x408147
push str.holiday.ini
mov ecx, esi
call fcn.0040cdd0
lea ecx, [esp + 0x340]
call fcn.00412520
lea ecx, [esp + 0x234]
mov byte [esp + 0x54b4], 0
call fcn.0040cd10
lea ecx, [esp + 0x340]
mov dword [esp + 0x54b4], 0xffffffff
call fcn.00411260
mov ecx, dword [esp + 0x54ac]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54a8
ret