Function at 0x402940
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4330e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x130], 0
call fcn.00404a10
mov edi, 0x442df8
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x148]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
mov ecx, ebp
push ebx
mov byte [esp + 0x138], 1
call fcn.00403d60
test al, al
je 0x4029c5
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, 0x442df8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00403d40
push 0x442df8
lea ecx, [esp + 0x14]
call fcn.0042bce7
push 0x442df8
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 2
call fcn.0042bce7
mov eax, dword [esp + 0x13c]
mov byte [esp + 0x130], 3
test eax, eax
jne 0x402a01
mov eax, 0x4358a8
push eax
lea ecx, [esp + 0x20]
push 0x4401cc
push ecx
call fcn.00426e17
add esp, 0xc
lea ecx, [esp + 0x1c]
push str.ecpend
call fcn.00426ad6
cmp eax, 0xffffffff
jne 0x402b2f
or ecx, eax
mov edi, str.recv_data_check_ecpend_error
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x402a69
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.recv_data_check_ecpend_error
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00403d40
mov ebp, dword [ebp + 4]
mov eax, 0x4358a8
test ebp, ebp
je 0x402a77
mov eax, ebp
push eax
lea eax, [esp + 0x14]
push str._____s
push eax
call fcn.00426e17
add esp, 8
mov ecx, esp
mov dword [esp + 0x28], esp
push str.EcpSocketSer
call fcn.0042bce7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x13c], 4
call fcn.0042b9ee
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 3
call fcn.00404a30
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b9ee
mov ecx, dword [esp + 0x2c]
call fcn.004027b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 2
call fcn.0042bc79
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 0
call fcn.00404a20
push 1
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call fcn.00403f50
jmp 0x40371a
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00426a3c
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 5
call fcn.0042bdb2
lea ecx, [esp + 0x24]
mov byte [esp + 0x130], 3
call fcn.0042bc79
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 0x440540
push eax
call fcn.00426e17
add esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.EcpSocketSer
call fcn.0042bce7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x13c], 6
call fcn.0042b9ee
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 3
call fcn.00404a30
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b9ee
mov ecx, dword [esp + 0x2c]
call fcn.004027b0
lea ecx, [esp + 0x90]
call fcn.00405f00
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x134], 7
call fcn.0040b940
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0x134], 8
call fcn.0040b940
push 0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x134], 9
call fcn.0040b940
mov cl, byte [esp + 0x17]
mov esi, dword [esp + 0x1c]
mov byte [esp + 0x2c], cl
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0x134], 0xa
call fcn.00403f50
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
call fcn.00403d60
test al, al
je 0x402c71
mov edi, dword [esp + 0x30]
mov ecx, ebx
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 eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x58]
push 1
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x9c]
mov byte [esp + 0x13c], 0xb
call fcn.00405fa0
test al, al
push 1
lea ecx, [esp + 0x30]
sete bl
mov byte [esp + 0x134], 0xa
call fcn.00403f50
test bl, bl
je 0x402e6f
mov edi, str.recv_data_json_error
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x402cf3
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, str.recv_data_json_error
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add eax, ebx
mov byte [eax], 0
mov ebp, dword [ebp + 4]
mov eax, 0x4358a8
test ebp, ebp
je 0x402d01
mov eax, ebp
push eax
lea ecx, [esp + 0x14]
push str._____s
push ecx
call fcn.00426e17
add esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.EcpSocketSer
call fcn.0042bce7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x13c], 0xc
call fcn.0042b9ee
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 0xa
call fcn.00404a30
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b9ee
mov ecx, dword [esp + 0x2c]
call fcn.004027b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x130], 9
call fcn.0040bea0
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 8
call fcn.0040bea0
lea ecx, [esp + 0x58]
mov byte [esp + 0x130], 7
call fcn.0040bea0
push 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x134], 0xf
call fcn.00403f50
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x134], 0xe
call fcn.00403f50
mov eax, dword [esp + 0xec]
mov byte [esp + 0x130], 0xd
test eax, eax
je 0x402df4
lea ecx, [esp + 0xc0]
call fcn.00404030
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x402ddd
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x130], 3
test eax, eax
je 0x402e1e
lea ecx, [esp + 0x90]
call fcn.00403fa0
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x402e07
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 2
call fcn.0042bc79
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 0
call fcn.00404a20
push 1
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call fcn.00403f50
jmp 0x40371a
push str.mode
lea ecx, [esp + 0x5c]
call fcn.0040c200
push eax
lea ecx, [esp + 0x6c]
call fcn.0040bf90
lea ecx, [esp + 0x68]
call fcn.0040c350
test al, al
je 0x403056
mov edi, str.recv_data_json_error
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x402eda
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.recv_data_json_error
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov ebp, dword [ebp + 4]
mov eax, 0x4358a8
test ebp, ebp
je 0x402ee8
mov eax, ebp
push eax
lea eax, [esp + 0x14]
push str._____s
push eax
call fcn.00426e17
add esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.EcpSocketSer
call fcn.0042bce7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x13c], 0x10
call fcn.0042b9ee
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 0xa
call fcn.00404a30
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b9ee
mov ecx, dword [esp + 0x2c]
call fcn.004027b0
lea ecx, [esp + 0x68]
mov byte [esp + 0x130], 9
call fcn.0040bea0
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 8
call fcn.0040bea0
lea ecx, [esp + 0x58]
mov byte [esp + 0x130], 7
call fcn.0040bea0
push 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x134], 0x13
call fcn.00403f50
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x134], 0x12
call fcn.00403f50
mov eax, dword [esp + 0xec]
mov byte [esp + 0x130], 0x11
test eax, eax
je 0x402fdb
lea ecx, [esp + 0xc0]
call fcn.00404030
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x402fc4
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x130], 3
test eax, eax
je 0x403005
lea ecx, [esp + 0x90]
call fcn.00403fa0
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x402fee
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 2
call fcn.0042bc79
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 0
call fcn.00404a20
push 1
lea ecx, [esp + 0x13c]
mov dword [esp + 0x134], 0xffffffff
call fcn.00403f50
jmp 0x40371a
push 0x442df8
lea ecx, [esp + 0x54]
call fcn.0042bce7
push str.mode
lea ecx, [esp + 0x5c]
mov byte [esp + 0x134], 0x14
call fcn.0040c200
mov ecx, eax
call fcn.0040c090
push eax
lea ecx, [esp + 0x54]
call fcn.0042be02
push 0x442df8
lea ecx, [esp + 0x58]
call fcn.0042bce7
push 0x442df8
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 0x15
call fcn.0042bce7
mov ecx, dword [esp + 0x50]
push str.ecp_rfid_readepc
push ecx
mov byte [esp + 0x138], 0x16
call fcn.004158e6
add esp, 8
test eax, eax
jne 0x4034b4
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4404f8
call fcn.0042bce7
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.004027b0
lea ecx, [esp + 0x78]
call fcn.00404db0
lea edx, [esp + 0x54]
lea ecx, [esp + 0x78]
push edx
mov byte [esp + 0x134], 0x17
call fcn.00404dd0
push ecx
mov esi, eax
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4404e4
call fcn.0042bce7
mov ecx, edi
call fcn.004027b0
push esi
lea eax, [esp + 0x40]
push 0x4404e0
push eax
call fcn.00426e17
mov cl, byte [esp + 0x23]
mov edi, 0x442df8
mov byte [esp + 0x38], cl
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
xor esi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x30], esi
push ecx
push 0x442df8
lea ecx, [esp + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.00403ca0
mov dl, byte [esp + 0x17]
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x134], 0x18
mov byte [esp + 0x44], dl
call fcn.00403f50
mov edi, 0x442df8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x44]
push ebx
call fcn.00403d60
test al, al
je 0x4031cd
mov edi, dword [esp + 0x44]
mov ecx, ebx
mov eax, ecx
mov esi, 0x442df8
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 [esp + 0x44]
mov dword [esp + 0x48], ebx
mov byte [ecx + ebx], 0
push 0
lea ecx, [esp + 0x40]
mov byte [esp + 0x134], 0x19
call fcn.0042c020
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x30]
push ebx
call fcn.00403d60
test al, al
je 0x403220
mov edi, dword [esp + 0x30]
mov ecx, ebx
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 eax, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
mov byte [eax + ebx], 0
push 0
lea ecx, [esp + 0x58]
call fcn.0042c020
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x44]
push ebx
call fcn.00403d60
test al, al
je 0x40326b
mov edi, dword [esp + 0x44]
mov ecx, ebx
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 eax, dword [esp + 0x44]
mov dword [esp + 0x48], ebx
mov byte [eax + ebx], 0
mov edi, str._mode_:_ecp_rfid_readepc___code_:_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x4032ad
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str._mode_:_ecp_rfid_readepc___code_:_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov edi, dword [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x24], edi
repne scasb al, byte es:[edi]
mov eax, dword [0x4358ac]
mov edx, dword [ebp + 8]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4032d4
call fcn.00421dbb
test esi, esi
jbe 0x403312
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x403312
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, esi
mov esi, dword [esp + 0x24]
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 eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov edi, str.___msg_:_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4358ac]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x403336
call fcn.00421dbb
test esi, esi
jbe 0x403375
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x403375
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, str.___msg_:_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov ecx, dword [0x4358ac]
mov eax, dword [esp + 0x48]
mov esi, ecx
cmp eax, esi
jae 0x403387
mov esi, eax
sub ecx, dword [ebp + 8]
cmp ecx, esi
ja 0x403393
call fcn.00421dbb
test esi, esi
jbe 0x4033d9
mov ebx, dword [ebp + 8]
push 0
add ebx, esi
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x4033d9
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4033b7
mov eax, 0x4358a8
mov edi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
add edi, ecx
mov ecx, esi
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.00403d40
mov edi, 0x4404ac
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebp + 8]
repne scasb al, byte es:[edi]
mov eax, dword [0x4358ac]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x4033fd
call fcn.00421dbb
xor edi, edi
cmp esi, edi
jbe 0x40343f
mov ebx, dword [ebp + 8]
push edi
add ebx, esi
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x40343f
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 4]
add edi, ecx
mov ecx, esi
mov edx, ecx
mov esi, 0x4404ac
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor edi, edi
mov byte [ebx], 0
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x403464
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40345b
cmp al, 0xff
je 0x40345b
dec al
mov byte [ecx], al
jmp 0x403464
push ecx
call fcn.004283ab
add esp, 4
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], edi
cmp eax, edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
je 0x403495
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40348c
cmp al, 0xff
je 0x40348c
dec al
mov byte [ecx], al
jmp 0x403495
push ecx
call fcn.004283ab
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x130], 0x16
call fcn.00404dc0
jmp 0x4034f6
mov edi, 0x44049c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.00403d60
test al, al
je 0x4034f6
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
mov esi, 0x44049c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
mov byte [ebx], 0
mov ebp, dword [ebp + 4]
mov eax, 0x4358a8
test ebp, ebp
je 0x403504
mov eax, ebp
push eax
lea ecx, [esp + 0x14]
push str._____s
push ecx
call fcn.00426e17
add esp, 8
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.EcpSocketSer
call fcn.0042bce7
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x13c], 0x1a
call fcn.0042b9ee
lea ecx, [esp + 0x28]
mov byte [esp + 0x138], 0x16
call fcn.00404a30
push ecx
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
call fcn.0042b9ee
mov ecx, dword [esp + 0x2c]
call fcn.004027b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x130], 0x15
call fcn.0042bc79
lea ecx, [esp + 0x54]
mov byte [esp + 0x130], 0x14
call fcn.0042bc79
lea ecx, [esp + 0x50]
mov byte [esp + 0x130], 0xa
call fcn.0042bc79
lea ecx, [esp + 0x68]
mov byte [esp + 0x130], 9
call fcn.0040bea0
lea ecx, [esp + 0x80]
mov byte [esp + 0x130], 8
call fcn.0040bea0
lea ecx, [esp + 0x58]
mov byte [esp + 0x130], 7
call fcn.0040bea0
push 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x134], 0x1d
call fcn.00403f50
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x134], 0x1c
call fcn.00403f50
mov eax, dword [esp + 0xec]
mov byte [esp + 0x130], 0x1b
test eax, eax
je 0x403667
mov eax, dword [esp + 0xcc]
push 0
mov ecx, eax
add eax, 0x20
mov dword [esp + 0xd0], eax
call fcn.00404980
mov eax, dword [esp + 0xec]
dec eax
mov dword [esp + 0xec], eax
je 0x403650
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0xc8]
cmp ecx, eax
jne 0x40365c
lea ecx, [esp + 0xc0]
call fcn.00404780
mov eax, dword [esp + 0xec]
test eax, eax
jne 0x403613
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x130], 3
test eax, eax
je 0x4036c0
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xbc]
add ecx, 4
dec eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xbc], eax
je 0x4036a9
mov eax, dword [esp + 0x98]
mov edx, ecx
cmp edx, eax
jne 0x4036b5
lea ecx, [esp + 0x90]
call fcn.00404780
mov eax, dword [esp + 0xbc]
test eax, eax
jne 0x40367a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x130], 2
call fcn.0042bc79
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], 1
call fcn.0042bc79
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 0
call fcn.00404a20
mov ecx, dword [esp + 0x13c]
test ecx, ecx
je 0x40371a
mov al, byte [ecx - 1]
test al, al
je 0x403710
cmp al, 0xff
je 0x403710
dec al
mov byte [ecx - 1], al
jmp 0x40371a
dec ecx
push ecx
call fcn.004283ab
add esp, 4
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x124
ret 0x14