Function at 0x4bcad0
Capabilities:
Check http status code
Write file on windows

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [ebp + 0x12f0]
mov eax, dword [ebx]
mov ecx, dword [0x59409c]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
xor edx, edx
mov ecx, eax
cmp ecx, 0xa
push esi
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
jg 0x4bd1bb
je 0x4bd100
dec ecx
cmp ecx, 4
ja case.0x4c0c08.818
jmp dword [ecx*4 + 0x4c0d54]
mov eax, dword [ebx + 0x164c]
test al, 1
je 0x4bcb3e
mov dword [0x589b90], edx
mov dword [esp + 0x14], 1
jmp case.0x4bf1f6.412
or eax, 1
mov dword [ebx + 0x164c], eax
mov dword [ebx + 0x438], edx
mov dword [ebx + 0x43c], edx
mov dword [ebx + 0x440], edx
mov dword [ebx + 0x838], edx
mov dword [ebx + 0x83c], 0xffffffff
cmp dword [0x589a60], edx
je 0x4bcb83
xor ecx, ecx
call fcn.004de2d0
test eax, eax
jne 0x4bcb83
xor ecx, ecx
call fcn.00496860
mov esi, 2
mov ecx, esi
call fcn.004dc3a0
mov eax, dword [ebx + 0x10]
lea ecx, [ebx + 0x10]
xor edi, edi
cmp eax, edi
je 0x4bcba0
call fcn.004c29d0
mov dword [ebx + 0x1578], edi
mov dword [ebx + 0x157c], edi
mov dword [ebx + 0x1580], edi
mov edx, dword [ebp]
mov eax, dword [edx + 8]
cmp eax, edi
je 0x4bcbd7
push eax
mov eax, dword [ebx + 0xf28]
imul eax, eax, 0x64
lea ecx, [eax + ebx + 0xdfc]
mov edx, 0x64
call fcn.0041e120
mov ecx, dword [ebp]
mov edx, dword [ecx]
push edx
lea ecx, [ebx + 0x10c2]
mov edx, 0x64
call fcn.0041e120
mov eax, dword [0x5a1af8]
cmp eax, edi
je 0x4bcc23
cmp dword [eax + 0xbb4], ebx
jne 0x4bcc19
cmp dword [eax + 0x700], 1
jne 0x4bcc19
mov dword [eax + 0x71c], esi
mov dword [eax + 0x75c], edi
mov dword [eax + 0x734], edi
mov eax, dword [eax + 0xd84]
cmp eax, edi
jne 0x4bcbf6
mov byte [ebx + 0x1bb4], 0
mov byte [ebx + 0x185c], 0
mov dword [ebx + 0x1dac], edi
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
cmp ecx, edi
je 0x4bcc48
mov edx, ebp
call fcn.00429440
mov ecx, dword [ebp + 0x12f0]
mov eax, dword [ebp]
push ecx
mov ecx, dword [eax + 0xc]
xor edx, edx
call fcn.004b9550
mov ecx, ebx
call fcn.004bbbd0
cmp dword [0x5988bc], edi
je 0x4bcc75
mov ecx, 1
call fcn.0052e870
mov eax, dword [0x5919d8]
cmp eax, edi
je 0x4bcc8d
push ebx
push 1
push 0x8049
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x589b90], edi
mov dword [esp + 0x14], 1
jmp case.0x4bf1f6.412
mov eax, dword [ebx + 0x164c]
test al, 2
je 0x4bccb5
mov dword [0x589b90], edx
jmp 0x4c0cba
or eax, 2
mov ecx, ebp
mov dword [ebx + 0x164c], eax
call fcn.004ba340
mov ecx, dword [ebp]
mov edx, dword [ecx]
lea edi, [ebp + 0xf07]
push edx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041e120
push edi
call fcn.00572bde
push str.undernet.
push edi
call fcn.00563db0
add esp, 0xc
test eax, eax
je 0x4bcd00
mov eax, dword [ebx + 0x1da8]
or eax, 4
jmp 0x4bcd1b
push str.dal.
push edi
call fcn.00563db0
add esp, 8
test eax, eax
je 0x4bcd21
mov eax, dword [ebx + 0x1da8]
or eax, 1
mov dword [ebx + 0x1da8], eax
mov ecx, ebx
call fcn.004f89a0
mov al, byte [ebx + 0x1bb4]
test al, al
jne 0x4bcd3b
mov edx, ebp
xor ecx, ecx
call fcn.00429440
mov eax, dword [0x5891a8]
test eax, eax
je 0x4bd0ea
mov eax, dword [0x58e798]
test eax, eax
je 0x4bd0ea
mov eax, dword [ebp + 0x12f0]
push 0
push eax
mov edx, 0x13
mov ecx, ebp
call fcn.00413bb0
jmp 0x4bd0ea
mov eax, dword [ebp]
cmp dword [eax + 8], edx
jne 0x4bcd83
mov ecx, ebx
call fcn.004f89a0
jmp case.0x4bf1f6.412
cmp dword [eax + 0xc], edx
je 0x4bd0e3
mov dword [esp + 0x20], 0xc
mov ecx, dword [ebp]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + ecx]
lea esi, [ebp + 0xf07]
push eax
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
push 0x3d
push esi
call fcn.00563730
mov edi, eax
add esp, 8
test edi, edi
je 0x4bd001
mov byte [edi], 0
mov al, byte [edi + 1]
inc edi
test al, al
je 0x4bd001
push str.WATCH
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bce0d
push edi
call fcn.00563a6c
add esp, 4
test eax, eax
mov dword [ebx + 0x1db0], eax
jge 0x4bd0c9
mov dword [ebx + 0x1db0], 0
jmp 0x4bd0c9
push str.PREFIX
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bce76
cmp byte [edi], 0x28
jne 0x4bd0c9
inc edi
push 0x29
push edi
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
je 0x4bd0c9
push edi
lea ecx, [ebx + 0x1c4a]
mov edx, 0x32
mov byte [esi], 0
call fcn.0041e120
mov byte [esi], 0x29
inc esi
push esi
lea ecx, [ebx + 0x1c18]
mov edx, 0x32
call fcn.0041e120
mov dword [ebx + 0x1dc8], 1
jmp 0x4bd0c9
push str.CHANTYPES
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bceb6
lea esi, [ebx + 0x1d44]
push edi
mov edx, 0x32
mov ecx, esi
call fcn.0041e120
mov edx, 0x579cd8
mov ecx, esi
call fcn.00518fc0
mov dword [ebx + 0x1dcc], 1
jmp 0x4bd0c9
push str.CHANMODES
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bcee8
push edi
lea ecx, [ebx + 0x1d76]
mov edx, 0x32
call fcn.0041e120
mov dword [ebx + 0x1dd0], 1
jmp 0x4bd0c9
push str.MODES
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bcf3c
push edi
call fcn.00563a6c
add esp, 4
cmp eax, 3
mov dword [ebx + 0x1dc0], eax
jge 0x4bcf18
mov dword [ebx + 0x1dc0], 3
mov ecx, dword [ebx + 0x1dc0]
mov eax, 0xf
cmp ecx, eax
jle 0x4bcf2d
mov dword [ebx + 0x1dc0], eax
mov dword [ebx + 0x1dc4], 1
jmp 0x4bd0c9
push str.NETWORK
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bcfaf
push str.java
push edi
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4bd0c9
lea esi, [ebp + 0xb20]
push edi
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
mov ecx, esi
call fcn.004293b0
test eax, eax
je 0x4bd0c9
push esi
lea ecx, [ebx + 0x1bb4]
mov edx, 0x64
call fcn.0041e120
mov edx, ebp
xor ecx, ecx
mov dword [ebx + 0x1dac], 1
call fcn.00429440
jmp 0x4bd0c9
push str.TOPICLEN
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd0c9
push edi
call fcn.00563a6c
add esp, 4
test eax, eax
mov dword [ebx + 0x1dbc], eax
jge 0x4bcfe2
mov dword [ebx + 0x1dbc], 0
cmp dword [ebx + 0x1dbc], 0x1cc
jle 0x4bd0c9
mov dword [ebx + 0x1dbc], 0x1cc
jmp 0x4bd0c9
push str.SPLIT
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd047
mov eax, dword [str.CAPAB_SPLIT_n]
lea ecx, [ebp + 0xb20]
mov edx, ecx
mov dword [edx], eax
mov eax, dword [0x579c90]
mov dword [edx + 4], eax
mov eax, dword [0x579c94]
mov dword [edx + 8], eax
mov al, byte [0x579c98]
mov byte [edx + 0xc], al
push ebx
xor edx, edx
call fcn.0053ec90
jmp 0x4bd0c9
push str.SAFELIST
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd065
mov dword [ebx + 0x1db4], 1
jmp 0x4bd0c9
push str.IRCX
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd0ad
mov eax, dword [ebx + 0x1da8]
test al, 0x20
jne 0x4bd0c9
or eax, 0x20
mov dword [ebx + 0x1da8], eax
mov eax, dword [str.IRCX_n]
lea ecx, [ebp + 0xb20]
mov edx, ecx
mov dword [edx], eax
mov ax, word [0x579acc]
mov word [edx + 4], ax
push ebx
xor edx, edx
call fcn.0053ec90
jmp 0x4bd0c9
push str.WALLCHOPS
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd0c9
mov dword [ebx + 0x1db8], 1
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp]
mov edx, dword [eax + ecx + 4]
add eax, 4
test edx, edx
mov dword [esp + 0x20], eax
jne 0x4bcd94
mov ecx, ebx
call fcn.004f89a0
mov ecx, ebx
call fcn.004bbbd0
mov dword [0x589b90], 0
jmp 0x4c0cba
cmp dword [ebp + 4], 4
jl 0x4c0d49
cmp dword [0x59ca64], edx
je 0x4bd143
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
mov dword [0x589b90], 0
call fcn.0041e210
mov edx, dword [0x5940a0]
mov eax, dword [esp + 0x10]
push edx
push 1
push 1
push eax
mov edx, 3
mov ecx, ebp
call fcn.004b9ea0
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push edx
lea ecx, [ebx + 0x131a]
mov edx, 0x64
call fcn.0041e120
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
push ecx
call fcn.00563a6c
add esp, 4
pop edi
pop esi
pop ebp
mov word [ebx + 0x14aa], ax
mov dword [ebx + 0x2258], 1
pop ebx
add esp, 0x40c
ret
cmp ecx, 0x16c
jg 0x4bf1c9
je 0x4bf0c3
sub ecx, 0xc8
cmp ecx, 0x99
ja case.0x4c0c08.818
movzx ecx, byte [ecx + 0x4c0e24]
jmp dword [ecx*4 + 0x4c0d68]
mov dword [0x589b90], edx
mov dword [esp + 0x14], 1
jmp case.0x4bf1f6.412
mov dword [0x589b90], edx
mov eax, dword [ebp]
jmp 0x4c0cb0
mov dword [0x589b90], edx
mov dword [esp + 0x18], 1
jmp case.0x4bf1f6.412
mov eax, dword [ebp]
mov eax, dword [eax + 8]
cmp eax, edx
je 0x4bd289
mov ecx, dword [ebx + 0xf28]
imul ecx, ecx, 0x64
push eax
lea edx, [ecx + ebx + 0xdfc]
push edx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd289
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4bd282
lea esi, [ebx + 0x1584]
mov word [esi], 0x5b
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push edx
mov edx, 0x64
mov ecx, esi
call fcn.0041e180
push 0x5786ac
mov edx, 0x64
mov ecx, esi
call fcn.0041e180
mov ecx, ebx
call fcn.004bbbd0
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [ebp + 8], 2
jmp case.0x4bf1f6.412
cmp dword [ebx + 0x1de4], edx
jne case.0x4bd1e6.200
mov eax, 1
mov dword [ebx + 0x1de4], eax
mov dword [esp + 0x14], eax
mov dword [0x589b90], edx
jmp 0x4c0cba
mov dword [ebx + 0x1de4], edx
mov dword [esp + 0x18], 1
mov dword [ebp + 8], 4
jmp case.0x4bf1f6.412
cmp dword [ebx + 0x1850], edx
je 0x4bd2ed
mov ecx, ebx
call fcn.00429aa0
mov eax, 1
mov dword [0x589b90], 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp case.0x4bf1f6.412
mov dword [0x589b90], edx
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp 0x4c0cba
dec dword [ebx + 0x1658]
jns 0x4bd32f
mov dword [ebx + 0x1658], edx
mov eax, dword [ebp]
mov edi, dword [eax + 0xc]
test edi, edi
je 0x4bd4f0
lea ecx, [ecx]
mov al, byte [edi]
test al, al
je 0x4bd4f0
cmp al, 0x20
jne 0x4bd358
mov edi, edi
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4bd350
cmp byte [edi], 0
je 0x4bd4f0
push 0x3d
push edi
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
je 0x4bd4f0
lea ecx, [ebp + 0xf07]
push edi
mov edx, 0x3e7
mov byte [esi], 0
call fcn.0041e120
push 0x2a
lea edi, [ebp + 0xf07]
push edi
mov byte [esi], 0x3d
call fcn.00563730
add esp, 8
test eax, eax
je 0x4bd3a5
mov byte [eax], 0
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4bd3a6
mov cx, word [0x575620]
inc esi
mov word [edi], cx
mov al, byte [esi]
cmp al, 0x2b
je 0x4bd3c3
cmp al, 0x2d
jne 0x4bd3c4
inc esi
cmp byte [esi], 0
je 0x4bd4f0
push 0x20
push esi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4bd411
mov byte [eax], 0
mov ecx, esi
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4bd3e1
sub ecx, esi
lea edi, [ebp + 0xf07]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bd3f3
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax], 0x20
lea edi, [eax + 1]
jmp 0x4bd43f
mov eax, esi
mov edx, esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bd415
lea edi, [ebp + 0xf07]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bd425
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov eax, dword [ebx + 0x1654]
test eax, eax
je 0x4bd47e
lea esi, [ebp + 0xf07]
push esi
mov edx, 0x3e7
lea ecx, [esp + 0x38]
call fcn.0041e120
mov ecx, ebp
call fcn.00530210
test eax, eax
jne 0x4c0d49
lea edx, [esp + 0x34]
push edx
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
lea eax, [ebp + 0xf07]
push 0x21
push eax
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
mov dword [esp + 0x20], esi
je 0x4bd4e8
mov byte [esi], 0
mov al, byte [esi + 1]
test al, al
je 0x4bd4e5
mov edx, ebx
lea ecx, [ebp + 0xf07]
call fcn.004b97c0
test eax, eax
je 0x4bd4e5
mov eax, dword [esp + 0x20]
inc eax
lea esi, [ebp + 0xb20]
push eax
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
push ebx
push 0
lea eax, [esp + 0x3c]
push eax
mov edx, esi
lea ecx, [ebp + 0xf07]
call fcn.004955c0
mov esi, dword [esp + 0x20]
mov byte [esi], 0x21
test edi, edi
jne 0x4bd340
mov eax, dword [ebx + 0x1658]
test eax, eax
jg 0x4bd509
mov ecx, ebp
call fcn.00530730
test eax, eax
jne 0x4c0d49
mov eax, dword [0x59ca64]
test eax, eax
je 0x4bd546
mov ecx, dword [ebp + 0xc]
push ecx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4bd57b
cmp byte [eax], 0
je 0x4bd57b
mov edx, dword [0x579c60]
lea ecx, [ebp + 0xb20]
mov dword [ecx], edx
mov eax, dword [0x579c64]
mov dword [ecx + 4], eax
mov dx, word [0x579c68]
mov word [ecx + 8], dx
jmp 0x4bd58b
lea edx, [ebp + 0xb20]
mov ecx, 0xdd7
call fcn.0041c9e0
mov eax, dword [esp + 0x1c]
push eax
push 1
mov dword [0x589b90], 0
push 1
jmp 0x4c0d3a
cmp dword [ebp + 4], 8
jl 0x4c0d49
cmp dword [ebx + 0x1de0], edx
mov eax, 1
jne 0x4bd5c4
mov dword [ebx + 0x1de0], eax
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x1c]
cmp ecx, edx
je 0x4bd610
mov edx, ebx
call fcn.004b97c0
test eax, eax
je 0x4bd610
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea edi, [ebp + 0xb20]
push str._s__s
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x1c]
add esp, 0x10
push ebx
push 0
lea eax, [ebp + 0xf07]
push eax
mov edx, edi
call fcn.004955c0
mov eax, dword [0x59ca64]
test eax, eax
je 0x4bd64d
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebx + 0x1f18]
test eax, eax
je 0x4bd713
mov eax, dword [ebp]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4bd713
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004f8240
test al, al
je 0x4bd713
mov eax, dword [ebx + 0x1f18]
mov ecx, dword [eax]
lea ebx, [ebp + 0xb20]
mov edx, ebx
jmp 0x4bd690
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4bd690
push 0x20
push ebx
call fcn.00563730
mov edi, eax
add esp, 8
test edi, edi
je 0x4bd713
mov byte [edi], 0
mov al, byte [edi + 1]
inc edi
test al, al
je 0x4bd713
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push edx
push ebx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd713
lea esi, [ebp + 0xf07]
mov edx, esi
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4bd6d6
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
push ecx
push edx
push eax
push 0x579a48
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 1
push 0
mov edx, ebx
mov ecx, esi
call fcn.00535d60
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x24]
xor esi, esi
cmp ecx, esi
je 0x4bd74b
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
lea ecx, [ebp + 0xb20]
push str._s__s__s__s__s_:_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
jmp 0x4bd774
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x20]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
lea eax, [ebp + 0xb20]
push str._s__s__s__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push esi
push edx
push eax
or edx, 0xffffffff
mov ecx, ebp
mov dword [0x589b90], esi
mov dword [0x59c690], esi
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je 0x4bd84f
mov edx, ebx
call fcn.004dc5a0
test eax, eax
je 0x4bd7cf
mov ecx, dword [eax + 0xa14]
test ecx, ecx
jle 0x4bd7cf
dec ecx
mov dword [eax + 0xa14], ecx
mov eax, dword [ebx + 0x1f18]
test eax, eax
je 0x4bd848
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004f8240
test al, al
je 0x4bd848
mov ecx, dword [ebx + 0x1f18]
mov ecx, dword [ecx]
lea esi, [ebp + 0xb20]
mov edx, esi
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4bd800
push 0x20
push esi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4bd848
mov byte [eax], 0
mov cl, byte [eax + 1]
test cl, cl
je 0x4bd848
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
push eax
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bd848
mov ecx, dword [ebx + 0x1f18]
call fcn.004c2680
mov dword [ebx + 0x1f18], eax
mov dword [ebp + 8], 3
mov dword [ebx + 0x1de0], 0
mov dword [esp + 0x18], 1
jmp case.0x4bf1f6.412
mov dword [ebx + 0x1dd8], 1
mov dword [ebx + 0x1ddc], edx
cmp dword [ebp + 4], 4
jl 0x4c0d49
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
push ebx
push 0
push 1
push 0
xor edx, edx
call fcn.004e1ab0
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004b97c0
test eax, eax
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bd8de
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea edi, [ebp + 0xb20]
push str._s__s
push edi
call esi
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
add esp, 0x10
push ebx
push 0
lea eax, [ebp + 0xf07]
push eax
mov edx, edi
call fcn.004955c0
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
xor edx, edx
call fcn.004b9950
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bd967
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea edi, [ebp + 0xf07]
push str._s__s
push edi
call esi
mov ecx, dword [0x58de68]
add esp, 0x10
push 2
mov edx, edi
call fcn.004c2560
mov dword [0x58de68], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4c0d49
push eax
mov edx, 0x3e7
mov ecx, edi
call fcn.0041e120
mov edx, 0xf
mov ecx, edi
call fcn.00518d60
push 1
mov edx, edi
jmp 0x4be1ce
mov eax, dword [0x59ca64]
test eax, eax
je 0x4bd9a0
mov ecx, dword [ebp + 0xc]
push ecx
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov edx, dword [0x594094]
mov ecx, dword [esp + 0x10]
call fcn.004fb620
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
lea edi, [ebp + 0xb20]
push eax
xor edx, edx
mov ecx, 0xdd9
mov dword [esp + 0x24], edi
call fcn.0041c9e0
push eax
push edi
call esi
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x10]
add esp, 0xc
test eax, eax
mov ebx, 4
je 0x4bda6f
mov eax, 0x10
jmp 0x4bd9f0
mov edx, dword [ebp]
mov eax, dword [edx + eax]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4bd9f8
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bda04
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
lea eax, [ebx*4]
cmp dword [eax + ecx], 0
je 0x4bda62
mov edi, dword [esp + 0x20]
dec edi
cmp ebx, 5
jne 0x4bda50
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bda35
mov dx, word [0x575618]
mov word [edi], dx
jmp 0x4bda62
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bda50
mov cx, word [0x575258]
mov word [edi], cx
mov edx, dword [ebp]
cmp dword [eax + edx], 0
mov edi, dword [esp + 0x20]
jne 0x4bd9f0
mov eax, dword [0x58f4e4]
xor esi, esi
cmp eax, esi
je 0x4bda86
cmp byte [edi], 0
je 0x4bda86
mov ecx, edi
call fcn.00417650
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
mov edx, edi
mov dword [0x589b90], esi
mov dword [0x59c690], esi
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [ebp + 4], 4
jl 0x4c0d49
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bdb58
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
push 0x104
push eax
lea ebx, [ebp + 0xf07]
push ebx
call fcn.005635f0
mov ecx, dword [ebp]
mov byte [ebp + 0x100b], 0
mov eax, dword [ecx + 0x10]
add esp, 0xc
lea edx, [eax + 1]
jmp 0x4bdb10
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bdb10
sub eax, edx
cmp eax, 0xe6
jbe 0x4bdb4f
push 0x20
add ebp, 0xfcf
push ebp
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
je 0x4bdb4f
xor edx, edx
mov ecx, 0xdd8
call fcn.0041c9e0
mov edx, esi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4bdb45
push 4
mov edx, ebx
jmp 0x4be1ce
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bdb97
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
push edx
xor edx, edx
mov ecx, 0xdda
add ebp, 0xb20
call fcn.0041c9e0
push eax
push ebp
call edi
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [0x589b90], eax
mov dword [0x59c690], eax
mov eax, dword [esp + 0x2c]
add esp, 0x10
push eax
mov edx, ebp
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [ebp + 4], 4
jl 0x4c0d49
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bdc50
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4c0d49
mov edx, dword [eax + 0x10]
push ecx
push edx
lea esi, [ebp + 0xf07]
push 0x5755a8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov edx, 0xf
mov ecx, esi
call fcn.00518d60
push 7
jmp 0x4be1cc
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bdc8f
mov eax, dword [ebp + 0xc]
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
push edx
xor edx, edx
mov ecx, 0xddb
lea esi, [ebp + 0xb20]
call fcn.0041c9e0
push eax
push esi
call edi
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
add esp, 0x10
test ecx, ecx
je 0x4bdcde
mov eax, esi
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4bdcc2
push ecx
sub eax, ebx
lea ecx, [eax + ebp + 0xb20]
push 0x575728
push ecx
call edi
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor eax, eax
push edx
mov edx, esi
mov dword [0x589b90], eax
mov dword [0x59c690], eax
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [ebp + 4], 3
jl 0x4c0d49
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
cmp eax, edx
mov esi, 1
je 0x4bdd6d
mov ecx, dword [ebx + 0xf28]
imul ecx, ecx, 0x64
lea edx, [ecx + ebx + 0xdfc]
push edx
push eax
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bdd6d
mov eax, dword [ebx + 0x1ddc]
test eax, eax
jne 0x4bdd6d
mov eax, dword [ebx + 0x165c]
test eax, eax
jne 0x4bdd66
push 0
mov dword [ebx + 0x165c], esi
call fcn.00563e36
add esp, 4
mov dword [ebx + 0x1660], eax
mov ecx, ebx
call fcn.004bbbd0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bddd8
xor ecx, ecx
mov dword [ebx + 0x1dd8], ecx
mov dword [ebx + 0x1ddc], ecx
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
cmp eax, ecx
je 0x4c0d49
lea esi, [ebp + 0xf07]
push eax
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
mov edx, 0xf
mov ecx, esi
call fcn.00518d60
push 6
jmp 0x4be1cc
mov ecx, dword [ebx + 0x1dd8]
xor eax, eax
cmp ecx, eax
jne 0x4bddf6
cmp dword [ebx + 0x1ddc], eax
jne 0x4bddf6
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
jmp 0x4bde02
mov dword [ebx + 0x1dd8], eax
mov dword [ebx + 0x1ddc], eax
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bde41
mov eax, dword [ebp + 0xc]
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [0x58f4e4]
xor esi, esi
cmp eax, esi
je 0x4bde60
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x10]
cmp ecx, esi
je 0x4bde60
cmp byte [ecx], 0
je 0x4bde60
call fcn.00417650
cmp dword [0x59b4f4], esi
je 0x4bdee1
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
mov ebx, eax
cmp ebx, esi
je 0x4bdee1
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, eax
call fcn.00536930
cmp dword [ebx], eax
jne 0x4bdee1
mov dword [0x589b90], esi
mov dword [0x59c690], esi
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push edx
xor edx, edx
mov ecx, 0xddc
call fcn.0041c9e0
push eax
lea eax, [ebp + 0xb20]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0xc
push ecx
mov ecx, dword [ebx]
push edx
push eax
push ecx
mov edx, 4
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov dword [0x589b90], esi
mov dword [0x59c690], esi
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
push eax
xor edx, edx
mov ecx, 0xddc
call fcn.0041c9e0
push eax
lea ecx, [ebp + 0xb20]
push ecx
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add esp, 0xc
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov edx, 4
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov eax, dword [ebp + 4]
mov esi, 3
cmp eax, esi
jl 0x4c0d49
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bf8ba
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4c0d49
lea esi, [ebp + 0xf07]
push eax
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
mov edx, 0xf
mov ecx, esi
call fcn.00518d60
push 9
jmp 0x4be1cc
mov eax, dword [ebp + 4]
mov esi, 3
cmp eax, esi
jl 0x4c0d49
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bf8ba
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4c0d49
push 8
mov edx, str.IRC_Operator
jmp 0x4be1ce
mov dword [ebx + 0x1dd8], edx
mov dword [ebx + 0x1ddc], 1
cmp dword [ebp + 4], 3
jl 0x4c0d49
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0xc]
push ebx
xor edx, edx
call fcn.004b9950
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4be071
mov ecx, dword [ebp + 0xc]
push ecx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
push eax
xor edx, edx
mov ecx, 0xddd
lea esi, [ebp + 0xb20]
call fcn.0041c9e0
push eax
push esi
call edi
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x10]
add esp, 0xc
test eax, eax
mov ebx, 4
je 0x4be136
mov eax, 0x10
lea esp, [esp]
mov edx, dword [ebp]
mov eax, dword [edx + eax]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4be0b8
lea edi, [ebp + 0xb20]
sub eax, ecx
mov esi, ecx
dec edi
lea ebx, [ebx]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4be0d0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
inc ebx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
lea eax, [ebx*4]
cmp dword [eax + ecx], 0
je 0x4be129
lea edi, [ebp + 0xb20]
dec edi
cmp ebx, 5
jne 0x4be117
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4be103
mov dx, word [0x575618]
mov word [edi], dx
jmp 0x4be129
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4be117
mov cx, word [0x575258]
mov word [edi], cx
mov edx, dword [ebp]
cmp dword [eax + edx], 0
jne 0x4be0b0
mov eax, dword [0x58f4e4]
xor esi, esi
cmp eax, esi
je 0x4be156
mov al, byte [ebp + 0xb20]
test al, al
lea ecx, [ebp + 0xb20]
je 0x4be156
call fcn.00417650
mov eax, dword [esp + 0x1c]
push eax
push esi
mov dword [0x589b90], esi
mov dword [0x59c690], esi
push 1
or edx, 0xffffffff
jmp 0x4c0d3d
cmp dword [ebp + 4], 4
jl 0x4c0d49
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
xor edx, edx
call fcn.004b9950
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4be1e9
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x10]
push 0
xor edx, edx
lea esi, [ebp + 0xf07]
call fcn.00520e40
push eax
push 0x574e94
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 5
mov edx, esi
mov ecx, dword [0x58de68]
call fcn.004c2560
pop edi
pop esi
pop ebp
mov dword [0x58de68], eax
pop ebx
add esp, 0x40c
ret
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4be228
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
push 0
xor edx, edx
lea ebx, [ebp + 0xb20]
call fcn.00520e40
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push eax
push edx
xor edx, edx
mov ecx, 0xdde
call fcn.0041c9e0
push eax
push ebx
call edi
mov eax, dword [ebp]
mov eax, dword [eax + 0x14]
add esp, 0x10
test eax, eax
je 0x4be2aa
movzx ecx, byte [eax]
push ecx
call fcn.00564077
add esp, 4
test eax, eax
je 0x4be2aa
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be277
sub eax, edx
mov esi, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
xor edx, edx
call fcn.00521110
push eax
xor edx, edx
mov ecx, 0xddf
call fcn.0041c9e0
push eax
lea ecx, [esi + ebp + 0xb20]
push ecx
call edi
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
xor eax, eax
push edx
mov edx, ebx
mov dword [0x589b90], eax
mov dword [0x59c690], eax
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [0x59ca64], edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4be30c
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
cmp dword [ebp + 4], 5
jl 0x4c0d49
mov eax, dword [ebp]
mov edx, dword [ebp + 0x12f0]
mov ecx, dword [eax + 0xc]
call fcn.004f8240
test al, al
jne 0x4c0d49
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
jne 0x4c0d49
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
xor edx, edx
call fcn.004b9950
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
mov dl, 0x20
call fcn.005190f0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
add ebp, 0xb20
push 0x579c20
push ebp
call esi
mov ecx, dword [esp + 0x30]
add esp, 0x14
xor eax, eax
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebp
mov dword [0x589b90], eax
mov dword [0x59c690], eax
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [ebp + 4], 4
jl 0x4c0d49
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
xor edx, edx
call fcn.004b9950
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
jne 0x4c0d49
mov dword [0x589b90], eax
mov dword [0x59c690], eax
jmp 0x4c0cba
mov dword [ebx + 0x1dd8], edx
mov dword [ebx + 0x1ddc], edx
cmp dword [ebp + 4], 3
jl 0x4c0d49
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push ebx
mov edx, 1
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4be4a8
mov eax, dword [0x58de70]
cmp eax, 0xffffffff
je 0x4be493
mov ecx, dword [0x58de74]
test ecx, ecx
jne 0x4be484
mov edx, dword [0x5a1b00]
push 2
push 0x9c
push 0x111
push edx
mov dword [0x58e084], 1
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
mov dword [0x58de70], 0
pop ebx
add esp, 0x40c
ret
test eax, eax
jle 0x4be493
mov edx, dword [0x58de68]
call fcn.00405340
pop edi
pop esi
pop ebp
mov dword [0x58de70], 0
pop ebx
add esp, 0x40c
ret
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4be4e7
mov eax, dword [ebp + 0xc]
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
xor esi, esi
add ebp, 0xb20
cmp ecx, esi
je 0x4be50b
push ecx
mov ecx, dword [eax + 0xc]
push ecx
push 0x5755a8
push ebp
call edi
add esp, 0x10
jmp 0x4be51b
mov edx, dword [eax + 0xc]
push edx
mov edx, 0x3e7
mov ecx, ebp
call fcn.0041e120
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
mov edx, ebp
mov dword [0x589b90], esi
mov dword [0x59c690], esi
call fcn.004fb730
mov edx, dword [0x594094]
mov ecx, dword [esp + 0x10]
call fcn.004fb620
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.004dc5a0
mov esi, eax
test esi, esi
je case.0x4bf1f6.443
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4be637
mov cl, byte [eax]
test cl, cl
mov dword [esp + 0x28], eax
je 0x4be615
mov edi, 0x14
mov dword [esp + 0x20], edi
lea ecx, [ecx]
mov eax, dword [ebp]
mov eax, dword [edi + eax]
test eax, eax
je 0x4be615
cmp cl, 0x6c
jne 0x4be5b7
push eax
call fcn.00563a6c
add esp, 4
add edi, 4
mov dword [esi + 0x72c], eax
mov dword [esp + 0x20], edi
jmp 0x4be601
cmp cl, 0x6b
jne 0x4be601
push 0x57561c
push eax
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4be5dd
mov ecx, 0x19
lea edi, [esi + 0x1a2]
rep stosd dword es:[edi], eax
jmp 0x4be5f4
mov ecx, dword [ebp]
mov edx, dword [edi + ecx]
push edx
lea ecx, [esi + 0x1a2]
mov edx, 0x64
call fcn.0041e120
mov eax, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x20], eax
mov edi, eax
mov eax, dword [esp + 0x28]
mov cl, byte [eax + 1]
inc eax
test cl, cl
mov dword [esp + 0x28], eax
jne 0x4be590
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
lea edi, [ebp + 0xf07]
push ecx
mov edx, 0x3e7
mov ecx, edi
call fcn.0041e120
mov edx, edi
mov ecx, esi
call fcn.004bb0c0
xor edx, edx
mov ecx, esi
call fcn.004bb450
mov eax, dword [esi + 0xa0c]
test eax, eax
jle case.0x4bf1f6.443
mov ecx, dword [esi + 0xa10]
dec eax
inc ecx
mov dword [esi + 0xa0c], eax
mov dword [esi + 0xa10], ecx
mov eax, dword [0x59ca64]
test eax, eax
je 0x4c0d49
mov edx, dword [ebp + 0xc]
push edx
jmp 0x4c0c62
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
je 0x4be69d
mov edx, ebx
call fcn.004dc5a0
test eax, eax
je 0x4be69d
xor edx, edx
mov ecx, eax
mov byte [eax + 0x26a], 0
call fcn.004bb450
mov eax, 1
mov dword [ebx + 0x1dd4], eax
mov dword [0x589b90], 0
mov dword [esp + 0x14], eax
jmp 0x4c0cba
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
je 0x4be69d
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4be69d
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
test edi, edi
je 0x4be69d
mov eax, dword [0x58f4e4]
test eax, eax
je 0x4be6f2
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x10]
cmp byte [ecx], 0
je 0x4be6f2
call fcn.00417650
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
lea esi, [edi + 0x26a]
push eax
mov edx, 0x1cc
mov ecx, esi
mov dword [esp + 0x2c], esi
call fcn.0041e120
xor edx, edx
mov ecx, edi
call fcn.004bb450
mov ecx, dword [edi + 0x438]
push 0
push 1
mov edx, esi
call fcn.004c2f40
test eax, eax
je 0x4be733
mov dword [edi + 0x438], eax
mov eax, dword [0x58918c]
test eax, eax
je 0x4be783
mov edx, 1
mov ecx, edi
call fcn.004114a0
test eax, eax
je 0x4be783
mov eax, dword [edi + 0x9fc]
test eax, eax
je 0x4be760
cmp eax, 1
je 0x4be76e
cmp eax, 2
jmp 0x4be76c
mov eax, dword [0x594f80]
test eax, eax
je 0x4be76e
cmp eax, 1
jne 0x4be783
mov ecx, dword [ebp + 0x12f0]
push 0
push ecx
mov edx, 0x29
mov ecx, ebp
call fcn.00413bb0
mov eax, dword [0x59ca64]
test eax, eax
je 0x4be7c4
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov esi, dword [esp + 0x28]
mov ecx, edi
call fcn.00536900
test eax, eax
je 0x4c0d49
mov eax, dword [edi + 0x9fc]
test eax, eax
je 0x4be7f7
cmp eax, 1
jne 0x4be7e6
mov eax, dword [edi]
jmp 0x4be813
cmp eax, 2
jne 0x4c0d49
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
jmp 0x4be817
mov eax, dword [0x594f80]
test eax, eax
jne 0x4be808
mov edx, dword [edi]
mov dword [esp + 0x10], edx
jmp 0x4be817
cmp eax, 1
jne 0x4c0d49
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
mov al, byte [esi]
add ebp, 0xb20
test al, al
je 0x4be847
push esi
xor edx, edx
mov ecx, 0xde0
call fcn.0041c9e0
push eax
push ebp
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
or edx, 0xffffffff
mov ecx, ebp
call fcn.00518d60
jmp 0x4be853
mov edx, ebp
mov ecx, 0xde1
call fcn.0041c9e0
mov ecx, dword [0x5940e8]
push ecx
mov ecx, dword [esp + 0x14]
mov edx, ebp
mov dword [0x589b90], 0
mov dword [0x59c69c], 1
call fcn.004fc570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [0x59ca64], edx
je 0x4be8bd
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4be9ff
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4be9ff
movzx edx, byte [eax]
push edx
call fcn.00564077
add esp, 4
test eax, eax
je 0x4be9ff
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
test eax, eax
je 0x4be9a6
mov ecx, dword [eax + 0x9fc]
test ecx, ecx
je 0x4be923
cmp ecx, 1
jne 0x4be912
mov ecx, dword [eax]
jmp 0x4be940
cmp ecx, 2
jne 0x4c0d49
mov edx, dword [ebx]
mov dword [esp + 0x10], edx
jmp 0x4be944
mov ecx, dword [0x594f80]
test ecx, ecx
jne 0x4be935
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x4be944
cmp ecx, 1
jne 0x4c0d49
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
xor edx, edx
lea esi, [ebp + 0xb20]
call fcn.00521110
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x10]
push eax
push edx
xor edx, edx
mov ecx, 0xde2
call fcn.0041c9e0
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x5940e8]
mov ecx, dword [esp + 0x20]
add esp, 0x10
push eax
mov edx, esi
mov dword [0x589b90], 0
mov dword [0x59c69c], 1
call fcn.004fc570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov esi, dword [ebp]
mov ecx, esi
mov ecx, dword [ecx + 0x14]
xor edx, edx
call fcn.00521110
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push edx
push eax
xor edx, edx
mov ecx, 0xde3
call fcn.0041c9e0
push eax
lea ecx, [ebp + 0xb20]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add esp, 0x14
push edx
mov edx, dword [ebx + 0x1dd4]
xor eax, eax
test edx, edx
sete al
push 1
or edx, 0xffffffff
push eax
push ecx
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
mov dword [ebx + 0x1dd4], 0
pop ebx
add esp, 0x40c
ret
cmp dword [0x59ca64], edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bea4f
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4c0d49
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4c0d49
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
mov eax, dword [0x5a1540]
test eax, eax
je 0x4bea96
xor eax, eax
test edi, edi
je 0x4bea86
mov eax, dword [edi + 0x748]
push eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
push 0
xor edx, edx
call fcn.0052f000
test edi, edi
je 0x4c0d49
mov eax, dword [edi + 0x6a8]
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
push edx
xor edx, edx
mov ecx, 0xde4
add ebp, 0xb20
call fcn.0041c9e0
push eax
push ebp
call esi
add esp, 0x10
push 0
mov edx, ebp
mov ecx, edi
call fcn.004c5150
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [0x59ca64], edx
mov esi, 1
je 0x4beb1e
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
mov esi, eax
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4c0d49
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
test edi, edi
je 0x4beb55
mov eax, dword [edi + 0xa10]
test eax, eax
jle 0x4beb55
dec eax
mov dword [edi + 0xa10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
test esi, esi
je 0x4c0d49
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4c0d49
push eax
call fcn.00563a14
add esp, 4
test eax, eax
jle 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
mov edx, 1
lea esi, [ebp + 0xb20]
call fcn.00521110
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push eax
push edx
xor edx, edx
mov ecx, 0xde5
call fcn.0041c9e0
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test edi, edi
je 0x4bebca
mov eax, dword [edi + 0x6a8]
test eax, eax
je 0x4bebca
push 0
mov edx, esi
mov ecx, edi
call fcn.004c5150
xor eax, eax
mov dword [0x589b90], eax
mov dword [0x59c690], eax
mov eax, dword [0x59409c]
mov ecx, dword [ebx]
push eax
mov edx, esi
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [ebp + 4], 4
jl 0x4c0d49
mov eax, dword [ebp + 8]
cmp eax, edx
je 0x4c0d49
mov ecx, dword [ebp]
mov ecx, dword [ecx + eax*4 - 4]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4bec11
sub eax, esi
cmp eax, 0x5a
ja 0x4c0d49
push 0
xor edx, edx
call fcn.004c4450
test eax, eax
je 0x4c0d49
xor esi, esi
mov dword [ebx + 0x1dd4], esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
mov ecx, dword [ecx + eax*4 - 4]
mov edx, ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x28], esi
call fcn.004dc5a0
mov edi, eax
test edi, edi
mov dword [esp + 0x24], edi
je 0x4beec1
cmp dword [edi + 0x700], 1
jne 0x4beec1
mov al, byte [ebx + 0x1768]
test al, al
lea esi, [ebx + 0x1768]
je 0x4beca0
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov ecx, dword [eax + edx*4 - 4]
push ecx
push esi
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4bed5d
mov edx, dword [ebp + 8]
mov eax, dword [ebp]
mov ecx, dword [eax + edx*4 - 4]
push ecx
mov edx, 0x64
mov ecx, esi
call fcn.0041e120
lea esi, [edi + 0x6b8]
mov ecx, esi
mov dword [edi + 0x734], 0
call fcn.004c29d0
mov edx, dword [edi + 0x6b4]
mov dword [esi], edx
lea ecx, [edi + 0x6c0]
xor edx, edx
mov dword [edi + 0x6b4], 0
call fcn.0048d150
mov esi, dword [esi]
test esi, esi
mov dword [esp + 0x20], 0
je 0x4bed3f
jmp 0x4bed00
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x86c]
push 0
push eax
push 0x199
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x4bed27
test eax, eax
jl 0x4bed27
cmp eax, 0xf
jle 0x4bed2c
mov eax, 0x63
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], eax
mov esi, dword [esi + 0x40]
inc ecx
test esi, esi
mov dword [esp + 0x20], ecx
jne 0x4bed00
mov edx, dword [edi + 0x86c]
push 0
push 0
push 0x184
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x28], 1
mov eax, dword [edi + 0x86c]
push 0
push 0
push 0x18e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4bed7f
mov dword [esp + 0x28], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp]
mov edi, dword [edx + ecx*4]
test edi, edi
je 0x4bee90
mov al, byte [edi]
test al, al
je 0x4bee90
cmp al, 0x20
jne 0x4beda8
mov edi, edi
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4beda0
cmp byte [edi], 0
je 0x4bee90
push 0x20
push edi
call fcn.00563730
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
je 0x4bedc7
mov byte [eax], 0
mov al, byte [edi]
test al, al
mov dword [esp + 0x30], 1
je 0x4bee7e
lea ecx, [ebx + 0x1c18]
lea esi, [ebx + 0x1c7c]
mov dl, byte [ecx]
test dl, dl
je 0x4bee08
cmp al, dl
jne 0x4bedfc
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
or edx, eax
mov dword [esp + 0x30], edx
inc edi
mov al, byte [edi]
add esi, 4
inc ecx
test al, al
jne 0x4bede5
jmp 0x4bee7e
cmp byte [edi], 0
je 0x4bee7e
push 0x21
push edi
call fcn.00563730
mov esi, eax
add esp, 8
test esi, esi
je 0x4bee21
mov byte [esi], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
push ecx
push 1
mov ecx, edi
call fcn.004de770
test esi, esi
je 0x4bee7e
mov cl, byte [esi + 1]
test cl, cl
lea eax, [esi + 1]
mov dword [esp + 0x30], eax
je 0x4bee7e
push 0x40
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4bee7e
mov edx, dword [esp + 0x30]
lea esi, [ebp + 0xb20]
push edx
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
push ebx
push 0
lea eax, [ebp + 0xf07]
push eax
mov edx, esi
mov ecx, edi
call fcn.004955c0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4bee90
mov edi, eax
mov byte [edi], 0x20
jmp 0x4bed90
mov eax, dword [esp + 0x28]
test eax, eax
mov edi, dword [esp + 0x24]
je 0x4beeb2
mov ecx, dword [edi + 0x86c]
push 0
push 0
push 0x19e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov ecx, edi
call fcn.004bb450
mov esi, dword [edi + 0x6bc]
mov eax, dword [0x59b460]
test eax, eax
jne 0x4beed2
test esi, esi
jne 0x4be66f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp]
mov eax, dword [ecx + eax*4 - 4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4beee0
sub eax, edx
inc eax
mov dword [0x59c690], eax
mov dword [0x589b90], 0
mov dword [ebp + 8], 4
jmp case.0x4bf1f6.412
cmp dword [ebx + 0x1850], edx
je 0x4c0cba
mov dword [ebx + 0x1850], edx
jmp 0x4c0cba
cmp dword [0x59ca64], edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bef57
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push edx
push eax
xor edx, edx
mov ecx, 0xde9
lea edi, [ebp + 0xb20]
call fcn.0041c9e0
push eax
push edi
call esi
mov ecx, dword [0x59409c]
add esp, 0x10
push ecx
mov ecx, dword [ebx]
mov edx, edi
call fcn.004fc570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov eax, dword [ebp]
cmp dword [eax + 8], edx
je 0x4befaa
cmp dword [eax + 0xc], edx
je 0x4befaa
mov dword [ebp + 8], 3
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [0x589b90], edx
jmp case.0x4bf1f6.412
cmp dword [0x59ca64], edx
mov esi, 1
je 0x4beffa
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
mov esi, eax
xor eax, eax
lea ecx, [ebx + 0x1664]
mov edx, 0x104
mov dword [ebx + 0x165c], eax
mov dword [ebx + 0x1660], eax
call fcn.0041e210
mov ecx, ebx
call fcn.004bbbd0
mov eax, dword [0x5891cc]
test eax, eax
je 0x4bf046
mov eax, dword [0x58e798]
test eax, eax
je 0x4bf046
mov edx, dword [ebp + 0x12f0]
push 0
push edx
mov edx, 0x2b
mov ecx, ebp
call fcn.00413bb0
test esi, esi
je 0x4c0d49
xor eax, eax
mov ecx, 0xf9
lea edi, [ebp + 0xb20]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
push 1
push 1
jmp 0x4c0d3a
mov esi, 1
push edx
mov dword [ebx + 0x165c], esi
call fcn.00563e36
add esp, 4
mov ecx, ebx
mov dword [ebx + 0x1660], eax
call fcn.004bbbd0
mov eax, dword [0x5891cc]
test eax, eax
je 0x4bf0b6
mov eax, dword [0x58e798]
test eax, eax
je 0x4bf0b6
mov edx, dword [ebp + 0x12f0]
push 0
push edx
mov edx, 0x2a
mov ecx, ebp
call fcn.00413bb0
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
jmp case.0x4bf1f6.412
cmp dword [ebx + 0x1df4], edx
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
jne 0x4bf14a
lea ecx, [ebx + 0x1df8]
mov dword [ebx + 0x1df4], 1
call fcn.004c29d0
mov eax, dword [0x59ca64]
test eax, eax
je 0x4bf11f
mov eax, dword [ebp + 0xc]
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov edx, dword [0x594094]
mov ecx, dword [ebx]
call fcn.004fb620
mov ecx, dword [0x59409c]
push ecx
xor edx, edx
mov ecx, 0xde8
call fcn.0041c9e0
mov ecx, dword [ebx]
mov edx, eax
call fcn.004fb730
jmp 0x4bf17f
cmp dword [0x59ca64], edx
je 0x4bf17f
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
add ebp, 0xf07
push 0x579c14
push ebp
call esi
mov ecx, dword [ebx + 0x1df8]
add esp, 0x14
push 0
push 0
mov edx, ebp
call fcn.004c2f40
test eax, eax
je 0x4c0d49
pop edi
pop esi
pop ebp
mov dword [ebx + 0x1df8], eax
pop ebx
add esp, 0x40c
ret
cmp ecx, 0x1dd
mov edi, 1
jg 0x4c0128
je 0x4c00e8
sub ecx, 0x16d
cmp ecx, 0x6e
ja case.0x4c0c08.818
movzx ecx, byte [ecx + 0x4c0f38]
jmp dword [ecx*4 + 0x4c0ec0]
cmp dword [ebx + 0x1650], edx
je 0x4bf20f
mov dword [ebx + 0x1650], 2
cmp dword [0x59ca64], edx
je 0x4bf24b
mov edx, dword [ebp + 0xc]
push edx
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
lea edi, [ebp + 0xb20]
mov edx, 0x3e7
mov ecx, edi
call fcn.0041e210
mov eax, dword [ebp]
push eax
mov edx, edi
mov ecx, 3
call fcn.004ed300
cmp byte [edi], 0x2d
jne 0x4bf27a
mov al, byte [edi + 1]
inc edi
cmp al, 0x2d
je 0x4bf272
cmp byte [edi], 0x20
jne 0x4bf288
nop
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4bf280
cmp byte [edi], 0
je 0x4c0d49
push 0x20
push edi
call fcn.00563730
add esp, 8
test eax, eax
je 0x4bf32a
mov byte [eax], 0
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
jne 0x4bf2b9
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x20
je 0x4bf2b0
cmp byte [eax], 0
je 0x4c0d49
lea esi, [ebp + 0xf07]
push eax
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
push 0x579c10
push esi
call fcn.00563db0
add esp, 8
test eax, eax
je 0x4bf303
mov ecx, eax
lea edx, [ecx + 1]
mov dword [esp + 0x28], edx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4bf2f0
sub ecx, dword [esp + 0x28]
cmp ecx, 3
ja 0x4bf303
mov byte [eax], 0
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bf308
sub eax, edx
push edi
lea eax, [eax + ebp + 0xf07]
push 0x579c08
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edi, esi
mov eax, dword [0x59b51c]
test eax, eax
mov ecx, dword [ebx]
je 0x4bf35b
mov edx, dword [0x594094]
call fcn.004fb620
mov ecx, dword [0x59409c]
push ecx
mov ecx, dword [ebx]
mov edx, edi
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov edx, dword [0x59409c]
push edx
mov edx, edi
call fcn.004fc570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [0x59ca64], edx
je 0x4bf3ad
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
cmp dword [ebx + 0x1650], 2
jne 0x4bf3c3
mov eax, dword [0x59b51c]
test eax, eax
jne 0x4c0d49
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
mov dword [0x589b90], 0
call fcn.0041e210
mov eax, dword [esp + 0x1c]
push eax
push 0
push 0
jmp 0x4c0d3a
mov edi, 1
mov dword [esp + 0x14], edi
cmp dword [ebx + 0x1650], edx
mov dword [ebx + 0x1578], edx
mov dword [ebx + 0x157c], edx
mov dword [ebx + 0x1580], edx
je 0x4bf430
mov ecx, edi
mov dword [ebx + 0x1650], edx
call fcn.004c5730
mov edx, dword [0x5a1b00]
push ebx
push 0
push 0x803e
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x59ca64]
test eax, eax
je 0x4bf46d
mov eax, dword [ebp + 0xc]
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
call fcn.0041e210
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
push edi
push edx
mov edx, dword [ebp + 8]
push eax
mov ecx, ebp
call fcn.004b9ea0
mov ecx, ebx
call fcn.004bbbd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004dc5a0
test eax, eax
mov dword [esp + 0x24], eax
je 0x4bf6ea
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
call fcn.0041e210
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4bf5e1
push eax
mov edx, 0x3e7
lea ecx, [ebp + 0xb20]
call fcn.0041e120
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4bf5e1
lea edi, [ebp + 0xb20]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4bf510
mov cx, word [0x5759b4]
mov word [edi], cx
mov edx, dword [ebp]
mov eax, dword [edx + 0x14]
push 0x21
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x4bf53a
mov byte [eax], 0
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x14]
mov esi, ecx
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4bf542
sub ecx, esi
lea edi, [ebp + 0xb20]
mov edx, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4bf554
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x4bf5a2
mov byte [eax], 0x21
mov cl, byte [eax + 1]
inc eax
test cl, cl
je 0x4bf5a2
lea ecx, [ebp + 0xb20]
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4bf582
push eax
sub ecx, esi
lea edx, [ecx + ebp + 0xb20]
push 0x574cc0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4bf5e1
lea eax, [ebp + 0xb20]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4bf5b5
sub eax, esi
mov edx, 1
mov esi, eax
call fcn.00521150
push eax
lea ecx, [esi + ebp + 0xb20]
push 0x579c00
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp + 0xc], 0x16f
jne 0x4bf678
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x6dc]
test eax, eax
je 0x4bf601
cmp eax, 2
jne 0x4bf61a
mov esi, dword [esp + 0x24]
lea ecx, [esi + 0x6d8]
call fcn.004c29d0
mov dword [esi + 0x6dc], 1
mov al, byte [ebp + 0xb20]
test al, al
je 0x4bf678
mov eax, dword [ebp]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x4bf678
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x6d8]
call fcn.00495f10
test eax, eax
jne 0x4bf678
mov ecx, dword [edi + 0x6d8]
lea esi, [ebp + 0xb20]
push eax
mov edx, esi
call fcn.004c2560
test eax, eax
je 0x4bf65f
mov dword [edi + 0x6d8], eax
mov ecx, dword [ebx + 0x1e08]
push 0
mov edx, esi
call fcn.004c2560
test eax, eax
je 0x4bf678
mov dword [ebx + 0x1e08], eax
mov eax, dword [esp + 0x24]
cmp eax, dword [ebx + 0x1e00]
jne 0x4bf6ea
mov cl, byte [ebp + 0xb20]
test cl, cl
lea esi, [ebp + 0xb20]
je 0x4c0d49
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x10]
test edx, edx
je 0x4c0d49
cmp dword [ebp + 0xc], 0x16f
jne 0x4bf6c2
mov ecx, dword [eax + 0x6d8]
call fcn.00495f10
test eax, eax
jne 0x4c0d49
mov ecx, dword [ebx + 0x1e08]
push 0
mov edx, esi
call fcn.004c2560
test eax, eax
je 0x4c0d49
pop edi
pop esi
pop ebp
mov dword [ebx + 0x1e08], eax
pop ebx
add esp, 0x40c
ret
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebx + 0x1e0c]
push ecx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4bd0f1
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4bd0f1
mov eax, dword [0x59ca64]
test eax, eax
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bf760
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call edi
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
lea ebx, [ebp + 0xb20]
push str._s__s_set_by__s
push ebx
call edi
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0x18]
add esp, 0x14
test ecx, ecx
je 0x4bf7b5
mov eax, ebx
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4bf790
sub eax, esi
xor edx, edx
mov esi, eax
call fcn.00521110
push eax
lea edx, [esi + ebp + 0xb20]
push 0x574cc0
push edx
call edi
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
mov edx, ebx
mov dword [0x589b90], 0
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
test edi, edi
mov esi, 1
je 0x4bf839
cmp dword [ebp + 0xc], 0x170
jne 0x4bf839
cmp dword [edi + 0x6dc], esi
je 0x4bf816
lea ecx, [edi + 0x6d8]
call fcn.004c29d0
mov dword [edi + 0x6dc], 2
mov eax, dword [ebx + 0x1da8]
test al, 0x20
jne 0x4bf82f
test ah, 4
je 0x4bf839
mov dword [edi + 0x6dc], 0
mov edx, dword [ebp + 0x12f0]
mov eax, dword [ebp]
push edx
mov edx, dword [eax + 0xc]
mov ecx, edi
call fcn.00422720
test eax, eax
jne 0x4c0d49
mov dword [esp + 0x18], esi
jmp 0x4c0cba
push ebx
xor edx, edx
xor ecx, ecx
call fcn.00422720
test eax, eax
jne 0x4c0d49
mov dword [esp + 0x18], 1
jmp 0x4c0cba
mov eax, dword [ebp + 4]
mov esi, 3
cmp eax, esi
jl 0x4c0d49
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
jne 0x4c0d49
xor eax, eax
mov dword [0x589b90], eax
mov dword [0x59c690], eax
mov dword [ebp + 8], esi
jmp case.0x4bf1f6.412
mov dword [ebx + 0x1dd8], edx
mov dword [ebx + 0x1ddc], edx
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
mov edx, 1
call fcn.004b9950
xor eax, eax
mov dword [0x589b90], eax
mov dword [0x59c690], eax
mov dword [esp + 0x18], 1
jmp case.0x4bf1f6.412
cmp dword [ebp + 4], 3
jl 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
call fcn.004c4450
test eax, eax
je 0x4c0d49
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
push edx
lea esi, [ebx + 0x1768]
push esi
mov dword [esp + 0x30], 0
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x4bf9e4
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
test edi, edi
je 0x4bf9e4
cmp dword [edi + 0x700], 1
jne 0x4bf9e4
lea ecx, [edi + 0x6b8]
mov dword [edi + 0x734], 0
call fcn.004c29d0
mov ecx, dword [edi + 0x86c]
push 0
push 0
push 0x18e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne 0x4bf9bb
mov edx, dword [edi + 0x86c]
push eax
push eax
push 0x19e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor edx, edx
mov ecx, edi
call fcn.004bb450
mov edx, 2
mov ecx, edi
call fcn.00473610
mov eax, dword [edi + 0x6bc]
mov dword [esp + 0x28], eax
mov dword [edi + 0x6bc], 0
mov eax, dword [ebx + 0x1dd4]
xor edi, edi
cmp eax, edi
mov byte [esi], 0
je 0x4bfa01
mov dword [ebx + 0x1dd4], edi
mov dword [esp + 0x14], 1
cmp dword [0x59b460], edi
jne 0x4bfa43
cmp dword [esp + 0x28], edi
je 0x4bfa43
mov ecx, dword [ebp + 0xc]
push ecx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push edi
push edi
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov dword [0x589b90], edi
mov dword [esp + 0x18], 1
jmp 0x4c0cba
cmp dword [0x59ca64], edx
je 0x4bfa8f
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebx + 0x1df4]
test eax, eax
je 0x4bfaaa
mov ecx, ebp
mov dword [ebx + 0x1df4], 0
call fcn.004c3630
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
call fcn.0041e210
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
mov edx, dword [ebp + 8]
push 1
push 0
push eax
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp dword [ebx + 0x1de8], edx
jne case.0x4bf1f6.412
mov eax, 1
mov dword [ebx + 0x1de8], eax
mov dword [esp + 0x14], eax
jmp case.0x4bf1f6.412
mov dword [ebx + 0x1de8], edx
mov dword [esp + 0x18], 1
jmp case.0x4bf1f6.412
cmp dword [0x59ca64], edx
je 0x4bfb49
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
mov dword [0x589b90], 0
call fcn.0041e210
mov ecx, dword [0x594090]
mov edx, dword [esp + 0x10]
push ecx
push 1
push 1
push edx
or edx, 0xffffffff
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
mov esi, 1
je 0x4bfc0a
mov edx, ebx
call fcn.004bb060
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.004dc5a0
test eax, eax
je 0x4bfc0a
cmp dword [eax + 0x700], esi
jne 0x4bfc0a
mov ecx, dword [eax + 0x71c]
test ecx, ecx
jne 0x4bfbcf
mov ecx, dword [eax + 0x75c]
test ecx, ecx
je 0x4bfc0a
mov dword [eax + 0x71c], 0
mov ecx, dword [0x59b50c]
test ecx, ecx
je 0x4bfbeb
mov dword [eax + 0x75c], esi
jmp 0x4bfc0a
mov ecx, dword [eax + 0x718]
test ecx, ecx
jne 0x4bfc0a
mov edx, dword [eax]
push 0
push 0
push 0x10
push edx
mov dword [eax + 0x718], esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x59ca64]
test eax, eax
mov dword [esp + 0x28], esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
je 0x4bfc49
mov eax, dword [ebp + 0xc]
push eax
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call esi
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1578]
test eax, eax
je 0x4bfd51
mov eax, dword [ebx + 0x157c]
test eax, eax
jne 0x4bfd51
mov eax, dword [ebx + 0x1580]
test eax, eax
jne 0x4bfd51
mov eax, dword [ebx + 0xf28]
test eax, eax
jne 0x4bfcbf
mov cl, byte [ebx + 0xe60]
test cl, cl
lea eax, [ebx + 0xe60]
je 0x4bfcbf
push eax
lea edi, [ebp + 0xb20]
push str.NICK__s_n
push edi
mov dword [ebx + 0xf28], 1
call esi
add esp, 0xc
push ebx
xor edx, edx
mov ecx, edi
call fcn.0053ec90
mov ecx, ebx
call fcn.004bbbd0
jmp 0x4bfd51
mov ecx, ebx
mov dword [ebx + 0x157c], 1
call fcn.004bbbd0
cmp dword [ebx + 0xf28], 2
je 0x4bfd51
mov eax, dword [0x589b78]
test eax, eax
je 0x4bfcf1
mov ecx, dword [0x589b7c]
call fcn.0041c8b0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c0d49
mov ecx, dword [ebx]
call fcn.005366c0
mov edi, eax
test edi, edi
je 0x4bfd51
mov ecx, dword [edi + 0x864]
push 0xffffffffffffffff
push 0
mov edx, 1
call fcn.004742f0
mov ecx, dword [edi + 0x864]
push 0x579bd8
push 0
push 0xc2
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x864]
push 0x7d000
push 0x7d000
mov edx, 1
call fcn.004742f0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c0d49
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
mov dword [0x589b90], 0
call fcn.0041e210
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push 1
push 1
push eax
mov edx, 3
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004bb060
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
mov ecx, dword [ebp + 0x12f0]
mov edx, dword [ebp]
mov edx, dword [edx + 0xc]
push ecx
mov ecx, eax
call fcn.00422720
test eax, eax
jne 0x4c0d49
jmp 0x4bfec6
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004f2b40
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.004bb060
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x4bfe66
mov ecx, dword [edi + 0x700]
mov eax, 1
cmp ecx, eax
jne 0x4bfe66
cmp dword [edi + 0x71c], esi
jne 0x4bfe35
cmp dword [edi + 0x75c], esi
je 0x4bfe66
mov dword [edi + 0x71c], esi
cmp dword [0x59b50c], esi
je 0x4bfe4b
mov dword [edi + 0x75c], eax
jmp 0x4bfe66
cmp dword [edi + 0x718], esi
jne 0x4bfe66
mov ecx, dword [edi]
push esi
push esi
push 0x10
push ecx
mov dword [edi + 0x718], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x12f0]
mov eax, dword [ebp]
push edx
mov edx, dword [eax + 0xc]
mov ecx, edi
call fcn.00422720
test eax, eax
jne 0x4c0d49
mov eax, 1
mov dword [0x589b90], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jmp 0x4c0cba
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004f2b40
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
test eax, eax
je 0x4bfec6
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [0x589b90], 0
mov dword [esp + 0x14], eax
jmp 0x4c0cba
mov dword [0x589b90], edx
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jmp 0x4c0cba
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
cmp eax, 0x191
jne 0x4bff1a
push ebx
push edx
push edx
push edx
xor edx, edx
call fcn.004e1ab0
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004f2b40
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push ebx
xor edx, edx
call fcn.004b9950
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.004dc5a0
xor edi, edi
cmp eax, edi
je 0x4bff66
cmp eax, dword [ebx + 0x1e00]
jne 0x4bff66
mov dword [ebx + 0x1e00], edi
mov dword [ebx + 0x1e04], edi
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.00405ff0
test eax, eax
je 0x4bffc2
cmp dword [0x58de74], edi
je 0x4bffb8
xor edx, edx
mov ecx, 0xdf2
call fcn.0041c9e0
mov ecx, dword [0x58de70]
mov edx, dword [0x58de74]
push eax
push edi
push 0xc
push ecx
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
pop edi
pop esi
pop ebp
mov dword [0x58de70], 0xffffffff
pop ebx
add esp, 0x40c
ret
mov dword [0x58de70], 0xffffffff
cmp dword [0x59ca64], edi
je 0x4bfffb
mov eax, dword [ebp + 0xc]
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push edi
push edi
push edi
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
cmp dword [ebp + 0xc], 0x191
mov esi, 1
jne 0x4c005f
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebx]
jne 0x4c005f
mov edx, dword [ebp]
mov eax, dword [edx + 0x10]
test eax, eax
je 0x4c005f
mov edi, dword [0x5a1af8]
test edi, edi
je 0x4c005f
cmp dword [edi + 0xbb4], ebx
jne 0x4c0055
cmp dword [edi + 0x700], 2
jne 0x4c0055
cmp dword [edi + 0x704], esi
jne 0x4c0055
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [edi + 8]
push edx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x4c009d
mov edi, dword [edi + 0xd84]
test edi, edi
jne 0x4c0025
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
mov dword [0x589b90], 0
call fcn.0041e210
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push esi
push 0
push eax
mov edx, 3
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov dword [0x59c69c], esi
lea esi, [ebp + 0xf07]
mov edx, 0x3e7
mov ecx, esi
mov dword [0x589b90], 0
call fcn.0041e210
mov eax, dword [ebp]
push eax
mov edx, esi
mov ecx, 4
call fcn.004ed300
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [edi]
mov edx, esi
call fcn.004fc570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
test byte [ebx + 0x1da8], 1
mov eax, edi
jne 0x4c00f5
xor eax, eax
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je 0x4c010d
mov edx, str.join
call fcn.0041d580
test eax, eax
jmp 0x4c010f
cmp eax, edx
jne case.0x4c0150.553
mov dword [0x589b90], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
jmp case.0x4bf1f6.412
cmp ecx, 0x28a
jg 0x4c064d
je 0x4c04fe
sub ecx, 0x1e2
cmp ecx, 0x7e
ja case.0x4c0c08.818
movzx eax, byte [ecx + 0x4c0fc0]
jmp dword [eax*4 + 0x4c0fa8]
mov dword [0x589b90], edx
mov eax, 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jmp case.0x4bf1f6.412
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004bb060
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
mov edx, ebx
call fcn.004dc5a0
test eax, eax
je 0x4c01ec
cmp dword [eax + 0x700], edi
jne 0x4c01ec
mov ecx, dword [eax + 0x71c]
test ecx, ecx
jne 0x4c01b1
mov ecx, dword [eax + 0x75c]
test ecx, ecx
je 0x4c01ec
mov dword [eax + 0x71c], 0
mov ecx, dword [0x59b50c]
test ecx, ecx
je 0x4c01cd
mov dword [eax + 0x75c], edi
jmp 0x4c01ec
mov ecx, dword [eax + 0x718]
test ecx, ecx
jne 0x4c01ec
mov ecx, dword [eax]
push 0
push 0
push 0x10
push ecx
mov dword [eax + 0x718], edi
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x59ca64]
test eax, eax
je 0x4c0229
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, 0xdea
lea edi, [ebp + 0xb20]
call fcn.0041c9e0
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebp + 0xc]
add esp, 0xc
cmp eax, 0x195
jne 0x4c025e
mov ecx, 0xdec
jmp 0x4c02be
cmp eax, 0x1d7
jne 0x4c026c
mov ecx, 0xded
jmp 0x4c02be
cmp eax, 0x1d9
jne 0x4c027a
mov ecx, 0xdee
jmp 0x4c02be
cmp eax, 0x1da
jne 0x4c0288
mov ecx, 0xdef
jmp 0x4c02be
cmp eax, 0x1db
jne 0x4c0296
mov ecx, 0xdf0
jmp 0x4c02be
cmp eax, 0x1dd
jne 0x4c02a4
mov ecx, 0xdf1
jmp 0x4c02be
cmp eax, 0x207
jne 0x4c02b2
mov ecx, 0xdf4
jmp 0x4c02be
cmp eax, 0x22c
jne 0x4c02c9
mov ecx, 0xdf3
lea edx, [ebp + 0xf07]
call fcn.0041c9e0
mov al, byte [ebp + 0xf07]
test al, al
lea esi, [ebp + 0xf07]
je 0x4c0300
mov eax, edi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c02e0
sub eax, edx
push esi
lea edx, [eax + ebp + 0xb20]
push 0x574cc0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [0x59409c]
mov dword [0x589b90], 0
mov dword [0x59c69c], 1
mov ecx, dword [ebx]
push eax
mov edx, edi
call fcn.004fc570
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
mov edx, ebx
call fcn.004dc5a0
mov ebx, eax
test ebx, ebx
je 0x4c0d49
cmp dword [ebx + 0x700], 1
jne 0x4c0d49
xor edx, edx
mov ecx, 0xdeb
call fcn.0041c9e0
push eax
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov al, byte [esi]
add esp, 8
test al, al
je 0x4c0390
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0370
sub eax, edx
push esi
lea edx, [eax + ebp + 0xb20]
push 0x574cc0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [0x594094]
mov dword [0x589b90], 0
mov dword [0x59c69c], 1
mov ecx, dword [ebx]
push eax
mov edx, edi
call fcn.004fc570
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov ecx, dword [ecx + 0xc]
cmp ecx, edx
je case.0x4bf1f6.412
mov edx, ebx
call fcn.004dc5a0
mov edi, eax
test edi, edi
je 0x4c04b9
mov edx, dword [ebp + 0x12f0]
mov eax, dword [ebp]
push edx
mov edx, dword [eax + 0xc]
mov ecx, edi
call fcn.00422720
test eax, eax
jne 0x4c0d49
mov ecx, edi
call fcn.00536900
test eax, eax
je 0x4c04b9
mov eax, dword [0x59ca64]
test eax, eax
je 0x4c0445
mov ecx, dword [ebp + 0xc]
push ecx
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
lea esi, [ebp + 0xf07]
mov edx, 0x3e7
mov ecx, esi
mov dword [0x589b90], 0
mov dword [0x59c69c], 1
call fcn.0041e210
mov edx, dword [ebp]
push edx
mov edx, esi
mov ecx, 4
call fcn.004ed300
push esi
call fcn.00572bde
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push esi
push ecx
lea ebx, [ebp + 0xb20]
push 0x579bcc
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov edx, dword [0x594094]
mov ecx, dword [edi]
add esp, 0x14
push edx
mov edx, ebx
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x12f0]
mov edx, dword [ecx + 0xc]
push eax
xor ecx, ecx
call fcn.00422720
test eax, eax
jne 0x4c0d49
mov dword [ebp + 8], 3
lea ecx, [ebp + 0xb20]
mov edx, 0x3e7
mov dword [0x589b90], eax
call fcn.0041e210
mov dword [esp + 0x18], 1
jmp case.0x4bf1f6.412
mov eax, dword [ebp]
cmp dword [eax + 8], edx
je case.0x4bf1f6.412
cmp dword [eax + 0xc], edx
je case.0x4bf1f6.412
mov esi, dword [ebx + 0x1dec]
xor eax, eax
cmp esi, edx
setne al
inc eax
mov dword [ebx + 0x1dec], eax
cmp dword [0x59ca64], edx
je 0x4c0563
mov ecx, dword [ebp + 0xc]
push ecx
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov edx, dword [ebp]
mov eax, dword [edx + 0xc]
test eax, eax
je case.0x4bf1f6.412
mov eax, dword [ebx + 0x1dec]
mov esi, 1
cmp eax, esi
jne 0x4c05d2
mov eax, dword [0x589b78]
test eax, eax
je 0x4c05c5
mov eax, dword [0x59bf98]
cmp eax, esi
jne 0x4c059f
mov ecx, dword [0x589b7c]
call fcn.0041c8b0
jmp 0x4c05c5
cmp eax, 2
jne 0x4c05bf
mov eax, dword [ebp + 0x12f0]
push eax
xor edx, edx
mov ecx, esi
call fcn.00473bf0
mov edx, esi
mov ecx, eax
call fcn.00517a40
jmp 0x4c05c5
mov dword [0x59c694], esi
mov edx, dword [0x594094]
mov ecx, dword [ebx]
call fcn.004fb620
mov ecx, dword [ebp]
mov edx, dword [ecx]
push edx
push 0x16
lea edi, [ebp + 0xb20]
push str._cServices_Message___s_
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x59409c]
add esp, 0x10
xor esi, esi
mov dword [0x589b90], esi
mov ecx, dword [ebx]
push eax
mov edx, edi
call fcn.004fb730
mov edx, 0x3e7
mov ecx, edi
call fcn.0041e210
mov ecx, dword [ebp]
push ecx
mov edx, edi
mov ecx, 3
call fcn.004ed300
mov edx, dword [0x59409c]
mov dword [0x589b90], esi
mov dword [0x59c69c], 1
mov ecx, dword [ebx]
push edx
mov edx, edi
call fcn.004fb730
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
cmp ecx, 0x32c
jg 0x4c0bef
je case.0x4bd1e6.322
sub ecx, 0x28b
je 0x4c06e4
sub ecx, 0x95
je 0x4c0688
sub ecx, 0xb
jne case.0x4c0c08.818
mov ecx, ebx
call fcn.00429880
jmp 0x4c0c51
mov eax, dword [0x5a1af8]
cmp eax, edx
je 0x4c06b0
mov ecx, 1
cmp dword [eax + 0xbb4], ebx
jne 0x4c06a6
cmp dword [eax + 0x700], ecx
je 0x4c06c6
mov eax, dword [eax + 0xd84]
cmp eax, edx
jne 0x4c0696
mov eax, dword [ebx + 0x1da8]
or eax, 0x20
mov ecx, ebx
mov dword [ebx + 0x1da8], eax
call fcn.004f89a0
mov ecx, dword [ebp + 4]
mov eax, 3
cmp ecx, eax
jl 0x4c06d5
mov dword [ebp + 8], eax
mov dword [0x589b90], 0
jmp case.0x4bf1f6.412
mov esi, dword [ebx + 0x1dec]
mov dword [ebx + 0x1dec], edx
cmp dword [0x59ca64], edx
je 0x4c072c
mov ecx, dword [ebp + 0xc]
push ecx
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
test esi, esi
jne 0x4c0d49
jmp case.0x4bf1f6.412
cmp eax, 0x142
jne 0x4c075e
mov ecx, dword [ebp + 4]
mov eax, 4
cmp ecx, eax
jl 0x4c0d49
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 5
jmp 0x4c0778
cmp dword [ebp + 4], 6
jl 0x4c0d49
mov dword [esp + 0x18], 5
mov dword [esp + 0x24], 7
cmp dword [ebx + 0x1850], 2
je 0x4c0788
mov ecx, ebx
call fcn.00429880
mov ecx, dword [ebx + 0x184c]
call fcn.005366c0
test eax, eax
mov dword [esp + 0x14], eax
je 0x4c0d49
mov edx, dword [ebp]
mov ecx, dword [edx + 0xc]
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4c07b0
sub eax, esi
mov esi, 1
cmp eax, esi
jl 0x4c0d49
cmp eax, 0x32
jg 0x4c0d49
push 0
xor edx, edx
call fcn.004c4450
test eax, eax
je 0x4c0d49
mov eax, dword [ebp]
mov ecx, dword [eax + 0xc]
push 9
push ecx
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4c0d49
mov edx, dword [ebp]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + eax*4]
push ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
call fcn.00563a6c
mov ecx, dword [ebx + 0x1970]
add esp, 4
cmp eax, ecx
jl 0x4c0826
cmp eax, dword [ebx + 0x1974]
jle 0x4c082c
xor esi, esi
mov dword [esp + 0x20], esi
mov edx, dword [ebp]
mov eax, dword [esp + 0x24]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x4c084d
mov eax, dword [0x58f4e4]
test eax, eax
je 0x4c084d
cmp byte [ecx], 0
je 0x4c084d
call fcn.00417650
test esi, esi
je 0x4c094d
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
lea esi, [ebp + 0xf07]
push edx
mov edx, 0x3e7
mov ecx, esi
call fcn.0041e120
cmp dword [ebx + 0x1978], 1
jne 0x4c08d6
mov eax, dword [ebp]
mov ecx, dword [esp + 0x24]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4c08d6
cmp byte [eax], 0
je 0x4c08d6
mov edi, esi
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4c0890
mov dx, word [0x575258]
mov ecx, dword [esp + 0x24]
mov word [edi], dx
mov eax, dword [ebp]
mov eax, dword [eax + ecx*4]
mov esi, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c08b0
lea edi, [ebp + 0xf07]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4c08c0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp + 0xf07]
push edi
call fcn.00572bde
add esp, 4
mov edx, 0xf
mov ecx, edi
call fcn.00518d60
mov eax, dword [ebx + 0x197c]
xor esi, esi
cmp eax, esi
je 0x4c0922
mov al, byte [ebx + 0x1a8c]
test al, al
lea ecx, [ebx + 0x1a8c]
je 0x4c0922
mov edx, edi
call fcn.00428270
test eax, eax
je 0x4c0922
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
jmp 0x4c094d
mov al, byte [ebx + 0x1988]
test al, al
lea ecx, [ebx + 0x1988]
je 0x4c094d
mov edx, edi
mov dword [esp + 0x20], 0
call fcn.00428270
test eax, eax
je 0x4c094d
mov dword [esp + 0x20], 1
mov eax, dword [ebp]
mov edx, dword [esp + 0x24]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4c0986
cmp byte [ecx], 0
je 0x4c0986
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax + ecx*4]
mov eax, dword [eax + 0xc]
push edx
push eax
lea edi, [ebp + 0xb20]
push str.__s_t_s_t_s
push edi
call esi
add esp, 0x14
jmp 0x4c09a9
mov ecx, dword [esp + 0x18]
mov edx, dword [eax + ecx*4]
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edx
push eax
lea edi, [ebp + 0xb20]
push 0x579b9c
push edi
call esi
add esp, 0x10
push 0x1a
push edi
call fcn.00563730
add esp, 8
test eax, eax
jne 0x4c0d49
mov eax, dword [0x59ca64]
test eax, eax
je 0x4c09ff
mov ecx, dword [ebp + 0xc]
push ecx
lea esi, [ebp + 0xf07]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c8]
push 0
push 0
mov edx, edi
call fcn.004c2f40
test eax, eax
je 0x4c0d49
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x6c8], eax
mov eax, dword [ebx + 0x1980]
test eax, eax
je 0x4c0a69
movzx edx, byte [ebp + 0xb22]
push edx
call fcn.005640c9
add esp, 4
test eax, eax
je 0x4c0b4f
cmp byte [ebp + 0xb22], 0x30
jne 0x4c0a69
movzx eax, byte [ebp + 0xb23]
push eax
call fcn.005640c9
add esp, 4
test eax, eax
je 0x4c0b4f
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4c0ac7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x6c8]
mov edx, dword [ecx]
mov eax, dword [eax + 0x86c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push edx
push 0
push 0x180
push eax
call esi
mov eax, dword [ebx + 0x1968]
test eax, eax
jg 0x4c0ab4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x86c]
push 0
push 0
push 0x186
push edx
call esi
mov eax, dword [ebx + 0x1968]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
inc eax
mov dword [ebx + 0x1968], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c0b4f
cmp dword [ebx + 0x1854], 0xffffffff
je 0x4c0b4f
mov ebp, dword [ebp]
mov eax, dword [esp + 0x24]
mov eax, dword [ebp + eax*4]
test eax, eax
je 0x4c0b0f
cmp byte [eax], 0
je 0x4c0b0f
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + ecx*4]
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
push str._s__s__s_r_n
push edi
call esi
add esp, 0x14
jmp 0x4c0b27
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + ecx*4]
mov eax, dword [ebp + 0xc]
push edx
push eax
push str._s__s_r_n
push edi
call esi
add esp, 0x10
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c0b30
push 0
lea ecx, [esp + 0x34]
push ecx
sub eax, edx
mov edx, dword [ebx + 0x1854]
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebx + 0x1964]
mov ecx, dword [ebx + 0x1960]
inc edx
inc ecx
mov eax, ecx
cmp eax, 0x32
mov dword [ebx + 0x1964], edx
mov dword [ebx + 0x1960], ecx
jge 0x4c0b9a
call fcn.0041e350
mov ebp, dword [ebx + 0x1b90]
mov ecx, dword [ebx + 0x1b94]
sub eax, ebp
sbb edx, ecx
mov dword [esp + 0x2c], edx
js 0x4c0d49
jg 0x4c0b9a
cmp eax, 0x64
jbe 0x4c0d49
mov dword [ebx + 0x1960], 0
call fcn.0041e350
mov ecx, dword [ebx + 0x1968]
mov dword [ebx + 0x1b90], eax
mov eax, dword [ebx + 0x1964]
push eax
mov dword [ebx + 0x1b94], edx
push ecx
xor edx, edx
mov ecx, 0xde6
call fcn.0041c9e0
push eax
push edi
call esi
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
add esp, 0x10
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
sub ecx, 0x330
cmp ecx, 0xb7
ja case.0x4c0c08.818
movzx ecx, byte [ecx + 0x4c1050]
jmp dword [ecx*4 + 0x4c1040]
mov ecx, ebp
call fcn.004bbc50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov ecx, ebx
call fcn.00429aa0
mov edx, dword [0x59409c]
push edx
xor edx, edx
mov ecx, 0xde7
call fcn.0041c9e0
mov ecx, dword [ebx]
mov edx, eax
call fcn.004fb730
mov edx, dword [0x594094]
mov ecx, dword [ebx]
call fcn.004fb620
mov eax, dword [0x59ca64]
test eax, eax
je 0x4c0d49
mov eax, dword [ebp + 0xc]
push eax
lea esi, [ebp + 0xb20]
push 0x5748f8
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push esi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
mov eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
jmp case.0x4bf1f6.412
mov eax, dword [ebp]
cmp dword [eax], edx
je case.0x4bf1f6.412
cmp dword [eax + 4], edx
je case.0x4bf1f6.412
cmp dword [eax + 8], edx
je case.0x4bf1f6.412
cmp dword [eax + 0xc], edx
je case.0x4bf1f6.412
mov dword [ebp + 8], 3
mov eax, dword [0x59ca64]
test eax, eax
je 0x4c0d19
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x59c690]
mov esi, dword [0x589b90]
push edx
lea edi, [ebp + 0xb20]
push 0x5748f8
push edi
mov dword [esp + 0x34], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 0
push 2
push edi
push ebp
xor edx, edx
mov ecx, ebx
call fcn.00506dd0
test eax, eax
je 0x4c0d49
mov eax, dword [esp + 0x28]
mov dword [0x589b90], esi
mov dword [0x59c690], eax
mov edx, dword [esp + 0x18]
xor eax, eax
mov ecx, 0xf9
lea edi, [ebp + 0xb20]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x1c]
stosw word es:[edi], ax
push ecx
stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
push edx
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.004b9ea0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret