Function at 0x401dc0
Capabilities:
Check http status code
Create thread
Encode data using base64
Receive data
Receive data on socket

Disassembly:
sub esp, 0x504
mov eax, dword [0x418d10]
push ebx
push ebp
push esi
push edi
push 0x418ce8
xor edi, edi
push 0x418d00
push edi
push 0x640
push 0x4186a0
push eax
call sub.WSOCK32.dll_recvfrom
or ebp, 0xffffffff
mov dword [0x418ce4], eax
cmp eax, ebp
je case.0x402b00.25
mov ecx, dword [0x4186a0]
mov ebx, dword [0x4186a4]
cmp cl, 7
jne 0x401e27
cmp bl, 0xb
jne 0x401e27
push 2
call fcn.0040a500
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
mov esi, dword [0x41b594]
mov edx, dword [0x418d04]
cmp esi, edx
je 0x401ed2
cmp esi, 0x1010101
jne case.0x402b00.25
cmp dword [0x41bc60], edi
je 0x401e58
cmp dword [0x41bc64], 1
je 0x401e84
mov eax, dword [0x41b504]
cmp eax, 1
jne 0x401e72
cmp cl, 2
je 0x401e84
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp eax, 9
jne case.0x402b00.25
cmp cl, 2
jne case.0x402b00.25
push 0x41b594
mov byte [0x41b278], 0
mov dword [0x41b594], edx
call fcn.00403ed0
mov edi, eax
mov ecx, ebp
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [0x418ce4]
mov edx, ecx
mov esi, edi
mov edi, 0x41b610
mov ebx, dword [0x4186a4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x4186a0]
xor edi, edi
cmp cl, 7
jne 0x401f24
push 8
call fcn.0040a500
add esp, 4
test al, al
je case.0x402b00.25
cmp dword [0x41bc60], edi
je 0x401f0f
cmp dword [0x41bc64], 1
jl 0x401f0f
push 1
call fcn.004095d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 3
call fcn.004086c0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp dword [0x41bc4c], edi
je 0x401f5b
cmp dword [0x41bc50], edi
je case.0x402b00.25
mov edx, dword [0x412020]
cmp edx, 3
jl case.0x402b00.25
cmp edx, 0x64
jl 0x402ad7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp cl, 0x20
jae 0x402ad7
mov edx, dword [0x41b504]
dec edx
je 0x4021d9
dec edx
je 0x4020bc
sub edx, 7
jne case.0x402b00.25
and ecx, 0xff
sub ecx, 2
je 0x402085
sub ecx, 2
je 0x402034
dec ecx
jne case.0x402b00.25
and ebx, 0xff
mov eax, ebx
dec eax
je 0x40200b
dec eax
mov eax, dword [0x41bc6c]
je 0x401fee
cmp eax, edi
je case.0x402329.12
mov eax, dword [0x41bc70]
push 0x69
push 3
push eax
call fcn.0040a8e0
add esp, 0xc
push 1
push 0x4e
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
add esp, 8
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp eax, edi
je 0x402005
mov ecx, dword [0x41bc70]
push 0x6b
push 3
push ecx
call fcn.0040a8e0
add esp, 0xc
push 1
push 0x20
jmp 0x401fcd
cmp dword [0x41bc6c], edi
je 0x402026
mov edx, dword [0x41bc70]
push 0x6a
push 3
push edx
call fcn.0040a8e0
add esp, 0xc
push 1
push 0x4186a5
call fcn.00403040
jmp 0x401fd2
cmp dword [0x41bc6c], edi
je 0x40204e
mov eax, dword [0x41bc70]
push 0x66
push 3
push eax
call fcn.0040a8e0
add esp, 0xc
push 1
push 0x4c
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
push 0x10
push 0x41b2e4
push 0x41b553
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x14
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp dword [0x41bc48], edi
je case.0x402b00.25
push 9
mov dword [0x41bc48], edi
mov dword [0x41b624], 0x10
mov dword [0x41b4bc], ebx
call fcn.0040ad90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
and ecx, 0xff
sub ecx, 2
je 0x4021a2
sub ecx, 2
jne case.0x402b00.25
cmp dword [0x41bc6c], edi
je 0x4020f4
mov ecx, dword [0x41bc70]
push 0x65
push 2
push ecx
call fcn.0040a8e0
mov eax, dword [0x418ce4]
add esp, 0xc
test dword [0x41bc38], 0x800000
jne 0x40211a
push 1
push 0x4f
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
mov eax, dword [0x418ce4]
add esp, 8
cmp eax, 0xd
jl 0x402155
mov edx, dword [0x4186a5]
mov ecx, dword [0x4186a9]
cmp eax, 0x11
mov dword [0x418d1c], edx
mov dword [0x418d18], ecx
jl 0x40214a
mov edx, dword [0x4186ad]
mov dword [0x418d14], edx
jmp 0x402150
mov dword [0x418d14], ebp
call fcn.004018c0
call fcn.00401540
cmp dword [0x41bc88], 3
je 0x40218d
test byte [0x41bc38], 8
je case.0x402b00.25
mov eax, dword [esp + 0x518]
push edi
push edi
push 2
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
pop edi
pop esi
pop ebp
mov dword [0x41bc8c], 1
pop ebx
add esp, 0x504
ret
cmp dword [0x41bc48], edi
je case.0x402b00.25
push 2
mov dword [0x41bc48], edi
mov dword [0x41b624], 0xc
mov dword [0x41b4bc], ebx
call fcn.0040ad90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
mov edx, ecx
and edx, 0xff
sub edx, 2
je 0x4028f2
sub edx, 2
je 0x402636
dec edx
jne case.0x402b00.25
mov ecx, dword [0x41bc88]
cmp ecx, 1
je 0x402211
cmp dword [0x41bc84], edi
jne case.0x402b00.25
cmp bl, 0x1d
jne 0x4022d8
cmp ecx, 1
jne case.0x402b00.25
cmp eax, 0x1d
jb case.0x402b00.25
mov ecx, 6
mov esi, 0x4186a5
mov edi, 0x41a558
cmp eax, 0x3d
mov dword [0x41bc44], 0
mov dword [0x41bc88], 2
rep movsd dword es:[edi], dword [esi]
jb 0x402263
push 0x4186bd
call fcn.00408d40
add esp, 4
call fcn.00406920
push 0
push 0
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
mov ecx, dword [0x41a560]
mov edx, dword [0x41a564]
mov eax, dword [0x41a568]
mov dword [0x418d1c], ecx
mov cl, byte [0x41a56e]
add esp, 8
mov dword [0x418d18], edx
mov dword [0x418d14], eax
mov byte [0x41bc9a], cl
call fcn.004018c0
lea edx, [esp + 0x10]
push edx
push 0
push 1
push 0x408ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov dword [0x41bc84], eax
pop ebx
add esp, 0x504
ret
cmp dword [0x41bc6c], edi
je 0x402300
mov ecx, dword [0x41bc70]
movsx eax, bl
push eax
push 1
push ecx
call fcn.0040a8e0
mov eax, dword [0x418ce4]
mov ebx, dword [0x4186a4]
add esp, 0xc
mov edx, ebx
mov dword [0x41b504], edi
and edx, 0xff
mov byte [0x41205e], 0
lea ecx, [edx - 1]
cmp ecx, 0x1b
ja case.0x402329.12
xor edx, edx
mov dl, byte [ecx + 0x402f20]
jmp dword [edx*4 + 0x402ef0]
push 1
push 0x4186a5
call fcn.00403040
jmp 0x401fd2
push 1
push 0x48
jmp 0x401fcd
cmp eax, 0xa
push 1
jge 0x402358
push 0x46
jmp 0x401fcd
push 0x3d
jmp 0x401fcd
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, 7
jge 0x402395
mov edi, 0x41bd14
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x4023b2
push 0x4186a5
call fcn.00403ed0
push eax
lea ecx, [esp + 0x11c]
push str.____s__
push ecx
call ebx
add esp, 0x10
lea edx, [esp + 0x114]
push edx
push 0x45
call fcn.004036d0
add esp, 4
push eax
push 0x41b310
call ebx
push 1
push 0x41b310
call fcn.004038a0
add esp, 0x14
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
cmp eax, 7
jge 0x402421
mov edi, 0x41bd14
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x114]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x402463
mov eax, dword [0x4186a8]
xor ecx, ecx
mov cl, byte [0x4186aa]
xor edx, edx
mov dl, ah
push ecx
and eax, 0xff
push edx
push eax
xor eax, eax
mov al, byte [0x4186a7]
xor ecx, ecx
push eax
mov eax, dword [0x4186a5]
xor edx, edx
mov cl, ah
mov dl, al
push ecx
push edx
lea eax, [esp + 0x12c]
push str.____02X__02X__02X__02X__02X__02X__
push eax
call ebp
add esp, 0x20
lea ecx, [esp + 0x114]
push ecx
push 0x39
call fcn.004036d0
add esp, 4
push eax
push 0x41b310
call ebp
push 1
push 0x41b310
call fcn.004038a0
add esp, 0x14
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp eax, 6
push 1
jge 0x4024aa
push 0x38
jmp 0x401fcd
push 0x12
jmp 0x401fcd
push 0
call fcn.00403660
add esp, 4
push eax
push 0x36
call fcn.004036d0
movsx edx, byte [0x4186a4]
add esp, 4
push eax
push edx
lea eax, [esp + 0x120]
push str.Error_Code__u____s:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x128]
push 1
push ecx
call fcn.004038a0
add esp, 0x1c
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x14]
mov esi, 0x4186b4
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3e
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x10e], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x40255a
lea edx, [esp + 0x14]
lea eax, [esp + 0x114]
push edx
push 0x413e44
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x402580
push 0x1c
call fcn.004036d0
movsx ecx, byte [0x4186a4]
push eax
push ecx
lea edx, [esp + 0x120]
push str.Code__u___s_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [esp + 0x114]
push 1
push eax
call fcn.004038a0
mov edi, 0x4186b4
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
add ecx, 0x14
lea edx, [ecx + 0x4186a0]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 4
jb 0x401fde
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0xb4
jae 0x401fde
push edx
call fcn.00401840
add esp, 4
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 1
push 0x62
jmp 0x401fcd
push 1
push 0x63
jmp 0x401fcd
movsx ecx, bl
push ecx
lea edx, [esp + 0x118]
push str.Code__u_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x120]
push 1
push eax
call fcn.004038a0
add esp, 0x14
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp dword [0x41bc6c], edi
je 0x402651
mov ecx, dword [0x41bc70]
push 0x64
push 1
push ecx
call fcn.0040a8e0
add esp, 0xc
call fcn.0040e9d0
mov eax, dword [0x41bc38]
mov byte [0x41205e], 1
test eax, 0x800000
mov byte [0x41bc78], 0xff
mov dword [0x41b504], 0xa
jne 0x40268f
push 1
push 0x11
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
add esp, 8
mov ecx, dword [0x418ce4]
cmp ecx, 0xd
jl 0x4026c9
mov edx, dword [0x4186a5]
mov eax, dword [0x4186a9]
cmp ecx, 0x11
mov dword [0x418d1c], edx
mov dword [0x418d18], eax
jl 0x4026c3
mov edx, dword [0x4186ad]
mov dword [0x418d14], edx
jmp 0x4026c9
mov dword [0x418d14], ebp
cmp ecx, 0x12
jl 0x4026da
mov al, byte [0x4186b1]
mov byte [0x41bc79], al
jmp 0x4026e1
mov byte [0x41bc79], 1
cmp ecx, 0x17
jl 0x4027fe
mov dl, byte [0x4186b2]
mov eax, dword [0x4186b3]
test dl, dl
mov dword [0x41b304], eax
jne 0x402708
cmp eax, edi
je 0x4027a2
jmp 0x40275a
cmp eax, edi
jne 0x40273d
push 0x34
call fcn.004036d0
mov ecx, dword [0x41b62c]
add esp, 4
push eax
push 0x138
push edi
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov edx, dword [0x41b648]
push 0x41bd14
push 0x139
push edx
jmp 0x402796
push 0x33
call fcn.004036d0
add esp, 4
push eax
mov eax, dword [0x41b62c]
push 0x138
push edi
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0x41b304
call fcn.00403ed0
add esp, 4
push eax
push 0x35
call fcn.004036d0
add esp, 4
lea ecx, [esp + 0x18]
push eax
push str._s:__s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x41b648]
add esp, 0x10
lea edx, [esp + 0x14]
push edx
push 0x139
push eax
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [0x418ce4]
cmp ecx, 0x2b
mov byte [0x41bc9a], 0
mov byte [0x41bc9b], 0
mov eax, 0x17
jb 0x4027de
push 0x4186b7
call fcn.00408d40
add esp, 4
xor eax, eax
mov al, byte [0x41b26a]
lea ecx, [eax + eax*2]
lea eax, [ecx*4 + 0x2b]
mov ecx, dword [0x418ce4]
cmp ecx, eax
jle 0x4027fe
mov dl, byte [eax + 0x4186a0]
inc eax
cmp ecx, eax
mov byte [0x41bc9b], dl
jle 0x4027fe
mov al, byte [eax + 0x4186a0]
mov byte [0x41bc9a], al
cmp ecx, 0xd
jl 0x402808
call fcn.004018c0
mov dword [0x41b624], edi
call fcn.004091d0
mov ecx, dword [0x41b62c]
push edi
push 0x12f
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0x4a
call fcn.004036d0
push eax
call fcn.00403ee0
add esp, 8
mov dword [0x41b308], edi
push edi
call dword [sym.imp.USER32.dll_MessageBeep]
test byte [0x41bc9b], 1
jne 0x402861
push 0x41b4ac
call fcn.00401c70
add esp, 4
mov word [0x41869c], ax
jmp 0x40286f
mov dx, word [0x41b29d]
mov word [0x41869c], dx
mov eax, dword [0x41bc80]
cmp eax, edi
je 0x40288f
mov ecx, dword [0x41ad8c]
mov dword [eax + 0xc], ecx
mov eax, dword [0x41bc80]
mov dl, byte [0x41bc9b]
mov byte [eax + 0xb], dl
test byte [0x41b2e1], 4
je 0x4028a6
mov ecx, dword [0x41b648]
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0040b9a0
xor edx, edx
push edi
mov dword [0x4192a4], edx
mov dword [0x4192a8], edx
mov dword [0x4192ac], edx
mov dword [0x4192b0], edx
mov dword [0x4192b4], edx
call fcn.00403700
push edi
call fcn.00406960
push edi
call fcn.0040a2c0
push 3
call fcn.0040a500
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp dword [0x41bc48], edi
je case.0x402b00.25
cmp eax, 0xa
mov dword [0x41bc48], edi
mov dword [0x41b624], 0x10
mov dword [0x41b4bc], ebx
mov word [0x41bc9c], di
jl 0x40292e
mov dx, word [0x4186a8]
mov word [0x41bc9c], dx
mov edx, dword [0x41bc38]
mov dword [0x41bc44], edi
test dh, 2
mov word [0x41bc90], di
je 0x40294f
mov word [0x41bc90], 2
xor edx, edx
cmp eax, 0x1a
mov dword [0x41ad88], edx
mov dword [0x41ad8c], edx
mov dword [0x41ad90], edx
jl 0x4029f1
mov edx, dword [0x412060]
movsx ecx, ch
and edx, 0xff
cmp ecx, edx
jne 0x4029db
mov dx, word [0x4186a2]
cmp dx, word [0x41bc98]
jne 0x4029db
mov ecx, dword [0x4186b4]
mov eax, dword [0x4186b0]
mov dx, word [0x4186b8]
mov dword [0x41ad8c], ecx
mov ecx, eax
mov dword [0x41ad88], eax
shl ecx, 0x1e
shr eax, 2
add ecx, eax
mov dword [0x41bc44], 3
push ecx
mov word [0x41ad90], dx
mov dword [0x41ad88], ecx
call fcn.004066b0
mov eax, dword [0x418ce4]
add esp, 4
cmp eax, 0x1a
jl 0x4029f1
mov eax, dword [0x4186aa]
test ah, 0x80
je 0x4029f1
or byte [0x41bc90], 8
cmp dword [0x41bc5c], edi
je 0x402ab0
cmp dword [0x41ad8c], edi
je 0x402ab0
push 0x41ad8c
call fcn.00403ed0
add esp, 4
mov esi, eax
mov ecx, 0x41b538
mov dl, byte [ecx]
mov bl, byte [esi]
mov al, dl
cmp dl, bl
jne 0x402a45
test al, al
je 0x402a41
mov dl, byte [ecx + 1]
mov bl, byte [esi + 1]
mov al, dl
cmp dl, bl
jne 0x402a45
add ecx, 2
add esi, 2
test al, al
jne 0x402a1d
xor eax, eax
jmp 0x402a49
sbb eax, eax
sbb eax, ebp
cmp eax, edi
je 0x402ab0
push 0x41ad8c
call fcn.00403ed0
mov edi, eax
mov ecx, ebp
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x41b538
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x41b538]
mov edx, dword [0x41b53c]
mov eax, dword [0x41b540]
mov dword [0x41b553], ecx
mov ecx, dword [0x41b544]
mov dword [0x41b557], edx
mov dword [0x41b55f], ecx
mov dword [0x41b55b], eax
mov byte [0x41b562], 0
push 5
call fcn.0040a500
add esp, 4
test al, al
je case.0x402b00.25
push 1
call fcn.0040ad90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp cl, 0x4d
jne case.0x402b00.25
cmp eax, 2
jl case.0x402b00.25
movsx edi, ch
lea esi, [edi - 1]
cmp esi, 0x39
ja case.0x402b00.25
xor edx, edx
mov dl, byte [esi + 0x402fa0]
jmp dword [edx*4 + 0x402f3c]
push eax
push 0x4186a2
call fcn.00401af0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push eax
push 0x4186a2
call fcn.00401bc0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 1
push 0x1a
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 1
push 0x41
jmp 0x402b3d
push 1
push 0x40
jmp 0x402b3d
push 1
push 0x3f
jmp 0x402b3d
push eax
push 0x4186a2
call fcn.00401c20
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 0
call fcn.00401680
add esp, 4
cmp al, 1
jne case.0x402b00.25
push 1
push 0x3e
jmp 0x402b3d
cmp dword [0x41b504], 0xa
jne case.0x402b00.25
push edi
call fcn.00408fa0
add esp, 4
test al, al
jne 0x402bcf
mov eax, dword [0x41bc38]
test ah, 0x80
jne 0x402bcf
mov dword [0x41b504], 0
call fcn.00401540
push 1
push 0x3d
jmp 0x402b3d
test dword [0x41bc38], 0x800000
jne 0x402bff
push 1
push 0x59
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
mov ecx, dword [0x4186a0]
add esp, 8
movsx eax, ch
push eax
call fcn.00408fa0
add esp, 4
test al, al
jne case.0x402b00.25
cmp dword [0x41b504], 0xa
jne case.0x402b00.25
mov eax, dword [0x41bc7c]
test eax, eax
jne case.0x402b00.25
mov eax, dword [0x41bc6c]
test eax, eax
je 0x401fde
mov ecx, dword [0x41bc70]
push 0x67
push 6
push ecx
call fcn.0040a8e0
add esp, 0xc
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 1
push 0x58
jmp 0x402b3d
push 1
call fcn.00401680
add esp, 4
cmp al, 1
jne case.0x402b00.25
push 1
push 0x57
jmp 0x402b3d
push 2
call fcn.00401680
add esp, 4
cmp al, 1
jne case.0x402b00.25
push 1
push 0x56
jmp 0x402b3d
push 3
call fcn.00401680
add esp, 4
cmp al, 1
jne case.0x402b00.25
push 1
push 0x55
jmp 0x402b3d
push 4
call fcn.00401680
add esp, 4
cmp al, 1
jne case.0x402b00.25
push 1
push 0x54
jmp 0x402b3d
push 1
push 0x53
jmp 0x402dbe
push 1
push 0x52
jmp 0x402dbe
push 1
push 0x51
jmp 0x402dbe
push 1
push 0x50
jmp 0x402dbe
cmp dword [0x41b504], 0xa
jne case.0x402b00.25
mov cx, word [0x4186a2]
mov byte [0x4192b8], 0x63
mov word [0x418698], cx
xor cx, word [0x41869c]
cmp eax, 5
mov word [0x41869a], cx
jl 0x402da5
push 0
mov byte [0x4192b8], bl
call fcn.00403520
mov edx, dword [0x4192b8]
add esp, 4
and edx, 0xff
cmp eax, edx
jle 0x402da5
mov dword [0x41bc7c], 0x12c
call fcn.0040aae0
push 0x12c
push 0
call fcn.00403660
add esp, 4
push eax
push 0x36
call fcn.004036d0
add esp, 4
push eax
lea eax, [esp + 0x120]
push str._s:__s_......_wait_for__lu_sec
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea ecx, [esp + 0x128]
push 1
push ecx
call fcn.004038a0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 0xd
call fcn.0040ad90
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 1
push 0x14
call fcn.004036d0
add esp, 4
push eax
call fcn.004038a0
movsx edx, byte [0x4186a1]
add esp, 8
push edx
call fcn.00408fa0
add esp, 4
test al, al
jne case.0x402b00.25
cmp dword [0x41b504], 0xa
jne case.0x402b00.25
mov dword [0x41b504], 0
call fcn.00401540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
push 1
push 0x13
jmp 0x402b3d
cmp eax, 0x190
jge case.0x402b00.25
mov byte [eax + 0x4186a0], 0
sub eax, 2
push eax
push 0x4186a2
mov dword [0x418ce4], eax
call fcn.00402fe0
add esp, 8
cmp al, 1
jne case.0x402b00.25
mov eax, dword [0x418ce4]
mov esi, 0x4186a4
mov edi, 0x41b310
push 1
lea ecx, [eax - 2]
push 0x41b310
mov edx, ecx
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 + 0x41b30e], 0
call fcn.004038a0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret
cmp eax, 0xc8
jge case.0x402b00.25
mov byte [eax + 0x4186a0], 0
sub eax, 2
push eax
push 0x4186a2
mov dword [0x418ce4], eax
call fcn.00402fe0
add esp, 8
cmp al, 1
jne case.0x402b00.25
mov eax, dword [0x418ce4]
mov esi, 0x4186a4
mov edi, 0x41b310
push 0x41b310
lea ecx, [eax - 2]
mov edx, ecx
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 + 0x41b30e], 0
call fcn.00401840
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x504
ret