Function at 0x4099c0
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4a69db
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x4d62b0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d62b0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x30], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40a99c
lea ebx, [esp + 0x248]
call fcn.0045af40
xor edi, edi
mov dword [esp + 0x270], edi
cmp dword [esp + 0x260], 8
mov ebp, dword [esp + 0x24c]
jae 0x409a54
lea ebp, [esp + 0x24c]
cmp ebp, edi
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], ecx
jne 0x409a66
mov dword [esp + 0x40], edi
jmp 0x409aa0
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
add ebx, 1
lea edi, [esp + 0x44]
mov ecx, ebx
lea esi, [esp + 0x40]
call fcn.0040f060
mov edx, dword [esp + 0x40]
lea eax, [ebx + ebx]
push eax
push ebp
push eax
push edx
call fcn.004883f0
push eax
call fcn.00401090
mov esi, dword [esp + 0x3c]
add esp, 0x14
xor edi, edi
lea eax, [esp + 0x38]
mov byte [esp + 0x270], 1
mov ecx, dword [esp + 0x40]
push eax
call fcn.0040b6b0
mov byte [esp + 0x270], 3
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x44]
cmp eax, ecx
je 0x409ad3
push eax
call fcn.00489176
add esp, 4
cmp esi, edi
lea edx, [esp + 0x148]
mov dword [esp + 0x144], edx
jne 0x409aee
mov dword [esp + 0x144], edi
jmp 0x409b2e
mov ebp, dword [esp + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
add ebx, 1
lea edi, [esp + 0x148]
mov ecx, ebx
lea esi, [esp + 0x144]
call fcn.0040f060
mov eax, dword [esp + 0x144]
add ebx, ebx
push ebx
push ebp
push ebx
push eax
call fcn.004883f0
push eax
call fcn.00401090
add esp, 0x14
sub esp, 0x104
mov edi, esp
mov byte [esp + 0x374], 4
mov ecx, 0x41
lea esi, [esp + 0x248]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x4b3248
call fcn.00474370
push eax
call fcn.004743e0
mov byte [esp + 0x384], 3
mov eax, dword [esp + 0x258]
lea edx, [esp + 0x25c]
add esp, 0x114
cmp eax, edx
je 0x409b94
push eax
call fcn.00489176
add esp, 4
mov esi, dword [esp + 0x18]
xor ebp, ebp
cmp dword [esp + 0x14], ebp
jle 0x40a937
mov eax, dword [esi + ebp*4]
push 0x4b3288
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409d88
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x409d88
mov ebp, eax
mov ecx, dword [esi + ebp*4]
push 0x4b3294
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409bf0
mov dword [0x4dbc14], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b32a4
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409c14
mov dword [0x4dbc14], 2
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b32b4
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409c38
mov dword [0x4dbc14], 3
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b32cc
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409c5c
mov dword [0x4dbc14], 5
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b32f8
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409c80
mov dword [0x4dbc14], 6
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3314
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409ca4
mov dword [0x4dbc14], 7
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b332c
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409cc8
mov dword [0x4dbc14], 8
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3350
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409cec
mov dword [0x4dbc14], 0x64
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3358
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409d10
mov dword [0x4dbc14], 0x12c
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b336c
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409d34
mov dword [0x4dbc14], 9
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3390
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409d60
mov dword [0x4dbc14], 0xb
add ebp, 1
mov edi, 0x4dbcdc
jmp 0x40a922
mov eax, dword [esi + ebp*4]
push 0x4b33c8
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a92a
mov dword [0x4dbc14], 0x1388
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b33e4
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409dc8
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x409dc8
mov ebp, eax
mov dword [0x4dbc1c], 1
mov edx, dword [esi + ebp*4]
push edx
call fcn.00489215
add esp, 4
mov dword [0x4dbc20], eax
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b33ec
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409e9c
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x409e9c
mov ebp, eax
mov dword [0x4dbc24], 1
mov edx, dword [esi + ebp*4]
test edx, edx
jne 0x409e05
xor eax, eax
jmp 0x409e1f
mov eax, edx
lea edi, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409e10
sub eax, edi
sar eax, 1
mov ebx, eax
push edx
mov eax, 0x4dbc28
call fcn.0040cfc0
cmp dword [0x4dbc74], 0
jne 0x40a92a
mov edx, dword [0x4dbc28]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, edi
or eax, ecx
jge 0x409e65
mov ecx, edi
mov eax, 0x4dbc28
call fcn.0040d060
mov edx, dword [0x4dbc28]
lea ecx, [edi + 1]
push ecx
push edx
call fcn.004882e2
add esp, 8
test edi, edi
jl 0x40a9c4
mov eax, dword [0x4dbc28]
cmp edi, dword [eax - 8]
jg 0x40a9c4
mov dword [eax - 0xc], edi
mov edx, dword [0x4dbc28]
mov word [edx + edi*2], 0
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b33f8
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409ed2
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x409ed2
mov ebp, eax
mov ecx, dword [esi + ebp*4]
push ecx
call fcn.00489215
add esp, 4
mov dword [0x4dbc2c], eax
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b340c
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409ef6
mov dword [0x4dbc30], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b341c
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409f2c
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x409f2c
mov ebp, eax
mov ecx, dword [esi + ebp*4]
push ecx
call fcn.00489215
add esp, 4
mov dword [0x4dbcb4], eax
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b342c
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409f50
mov dword [0x4dbc34], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3440
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409f74
mov dword [0x4dbc38], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b3458
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409f98
mov dword [0x4dbc10], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3464
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409fc7
mov eax, dword [esi + ebp*4 + 4]
add ebp, 1
push eax
call fcn.00489215
add esp, 4
mov dword [0x4dbc04], eax
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b3478
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x409feb
mov dword [0x4dbc40], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3488
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a00f
mov dword [0x4dbc4c], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b34a0
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a037
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a037
mov edi, 0x4dbc54
jmp 0x40a920
mov ecx, dword [esi + ebp*4]
push 0x4b34ac
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a092
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a092
mov ebp, eax
mov ecx, dword [esi + ebp*4]
lea edx, [esp + 0x2c]
push edx
call fcn.0040b6b0
lea eax, [esp + 0x2c]
push eax
mov ecx, 0x4b34bc
call fcn.0040b940
add esp, 4
test al, al
je 0x40a084
mov dword [0x4dbc58], 1
lea ecx, [esp + 0x2c]
call fcn.0040b760
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b34c4
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a0b6
mov dword [0x4dbc5c], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b34e8
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a0da
mov dword [0x4dbc64], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3504
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a0fe
mov dword [0x4dbc68], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b3518
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a122
mov dword [0x4dbcbc], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3534
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a146
mov dword [0x4dbc6c], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3554
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a16a
mov dword [0x4dbc70], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b357c
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a18e
mov dword [0x4dbc74], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3594
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a1b6
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a1b6
mov edi, 0x4dbc78
jmp 0x40a920
mov eax, dword [esi + ebp*4]
push 0x4b35a4
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a1de
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a1de
mov edi, 0x4dbc7c
jmp 0x40a920
mov ecx, dword [esi + ebp*4]
push 0x4b35b4
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a206
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a206
mov edi, 0x4dbc80
jmp 0x40a920
mov edx, dword [esi + ebp*4]
push 0x4b35c4
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a22e
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a22e
mov edi, 0x4dbc84
jmp 0x40a920
mov eax, dword [esi + ebp*4]
push 0x4b35e4
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a2c7
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a2c7
lea esi, [esp + 0x24]
mov ebp, eax
call fcn.0040b690
mov ecx, dword [esp + 0x18]
push 0
mov byte [esp + 0x274], 5
mov edx, dword [ecx + ebp*4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebx, eax
lea esi, [ebx + 1]
lea edi, [esp + 0x24]
call fcn.0040b4b0
push ebx
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + ebp*4]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jbe 0x40a2a3
mov eax, edi
mov edi, 0x4dbc60
call fcn.0040c900
or eax, 0xffffffff
lea esi, [esp + 0x24]
call fcn.0040b500
mov ecx, esi
mov byte [esp + 0x270], 3
call fcn.0040b760
mov esi, dword [esp + 0x18]
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b360c
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a2fd
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a2fd
mov ebp, eax
mov eax, dword [esi + ebp*4]
push eax
call fcn.00489215
add esp, 4
mov dword [0x4dbcc0], eax
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b361c
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a325
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a325
mov edi, 0x4dbcc4
jmp 0x40a920
mov edx, dword [esi + ebp*4]
push 0x4b3634
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a349
mov dword [0x4dbcc8], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3644
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a371
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a371
mov edi, 0x4dbc88
jmp 0x40a920
mov ecx, dword [esi + ebp*4]
push 0x4b3664
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a395
mov dword [0x4dbce0], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b367c
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a3cb
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a3cb
mov ebp, eax
mov eax, dword [esi + ebp*4]
push eax
call fcn.00489215
add esp, 4
mov dword [0x4dbce4], eax
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b369c
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a401
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a401
mov ebp, eax
mov edx, dword [esi + ebp*4]
push edx
call fcn.00489215
add esp, 4
mov dword [0x4dbce8], eax
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b36b8
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a437
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a437
mov ebp, eax
mov ecx, dword [esi + ebp*4]
push ecx
call fcn.00489215
add esp, 4
mov dword [0x4dbcec], eax
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b36d4
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a45b
mov dword [0x4dbcf0], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b36f4
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a47f
mov dword [0x4dbcf4], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b3718
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a4a3
mov dword [0x4dbcf8], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3738
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a4f3
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a4f3
mov ebp, eax
mov dword [0x4dbca8], 1
mov eax, dword [esi + ebp*4]
push eax
call fcn.00489215
push eax
push 0x4b374c
mov edi, 0x4dbcac
mov dword [0x4dbca4], eax
call fcn.0040e820
add esp, 0xc
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b375c
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a51b
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a51b
mov edi, 0x4dbcac
jmp 0x40a920
mov edx, dword [esi + ebp*4]
push 0x4b3770
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a53f
mov dword [0x4dbc8c], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b379c
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a563
mov dword [0x4dbc94], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b37bc
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a587
mov dword [0x4dbc98], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b37dc
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a5ab
mov dword [0x4dbc9c], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b3800
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a5cf
mov dword [0x4dbc90], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b3824
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a5f3
mov dword [0x4dbca0], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b384c
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a61b
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a61b
mov edi, 0x4dbcfc
jmp 0x40a920
mov eax, dword [esi + ebp*4]
push 0x4b3870
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a643
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a643
mov edi, 0x4dbd00
jmp 0x40a920
mov ecx, dword [esi + ebp*4]
push 0x4b3890
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a66b
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a66b
mov edi, 0x4dbd04
jmp 0x40a920
mov edx, dword [esi + ebp*4]
push 0x4b38ac
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a693
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a693
mov edi, 0x4dbd08
jmp 0x40a920
mov eax, dword [esi + ebp*4]
push 0x4b38cc
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a6b7
mov dword [0x4dbd0c], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b38f4
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a6db
mov dword [0x4dbd10], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3920
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a6ff
mov dword [0x4dbd14], 1
jmp 0x40a92a
mov eax, dword [esi + ebp*4]
push 0x4b395c
push eax
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a723
mov dword [0x4dbc44], 1
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b3974
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a747
mov dword [0x4dbc48], 1
jmp 0x40a92a
mov edx, dword [esi + ebp*4]
push 0x4b3998
push edx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a77d
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a77d
mov ebp, eax
mov eax, dword [esi + ebp*4]
push eax
call fcn.00489215
add esp, 4
mov dword [0x4dbc08], eax
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b39b4
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a8fd
mov edi, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.0040b6b0
lea eax, [esp + 0x30]
push eax
mov ecx, edi
mov byte [esp + 0x274], 6
call fcn.0040b6b0
lea edi, [esp + 0x1c]
mov byte [esp + 0x270], 7
call fcn.0040b7c0
lea ecx, [esp + 0x34]
push ecx
mov ecx, 0x4b39b4
call fcn.0040b6b0
lea edx, [esp + 0x20]
push edx
mov ecx, 0x4b39c8
mov byte [esp + 0x274], 8
call fcn.0040b6b0
mov byte [esp + 0x270], 9
mov eax, dword [esp + 0x34]
test eax, eax
mov ecx, dword [esp + 0x1c]
jne 0x40a80a
or edi, 0xffffffff
jmp 0x40a832
cmp dword [ecx - 0xc], 0
jge 0x40a815
or edi, 0xffffffff
jmp 0x40a832
push eax
push ecx
call fcn.004882f5
mov ecx, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x40a82c
or edi, 0xffffffff
jmp 0x40a832
sub eax, ecx
sar eax, 1
mov edi, eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x40a83f
or ecx, 0xffffffff
jmp 0x40a865
cmp dword [ecx - 0xc], 0
jge 0x40a84a
or ecx, 0xffffffff
jmp 0x40a865
push eax
push ecx
call fcn.004882f5
add esp, 8
test eax, eax
jne 0x40a85d
or ecx, 0xffffffff
jmp 0x40a865
sub eax, dword [esp + 0x1c]
sar eax, 1
mov ecx, eax
test edi, edi
jle 0x40a8a7
test ecx, ecx
jle 0x40a8a7
cmp ecx, edi
jle 0x40a8a7
mov eax, dword [esp + 0x20]
mov eax, dword [eax - 0xc]
sub eax, edi
add eax, ecx
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
lea edx, [esp + 0x40]
call fcn.0040b820
mov edi, 0x4dbccc
mov byte [esp + 0x270], 0xa
call fcn.0040c900
lea ecx, [esp + 0x3c]
call fcn.0040b760
cmp ebp, dword [esp + 0x14]
jge 0x40a8cf
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esi + ebp*4]
push edx
push eax
call int.00489c6a
add esp, 8
add ebp, 1
test eax, eax
je 0x40a8cf
cmp ebp, dword [esp + 0x14]
jl 0x40a8b1
lea ecx, [esp + 0x20]
call fcn.0040b760
lea ecx, [esp + 0x34]
call fcn.0040b760
lea ecx, [esp + 0x30]
call fcn.0040b760
lea ecx, [esp + 0x1c]
mov byte [esp + 0x270], 3
call fcn.0040b760
jmp 0x40a92a
mov ecx, dword [esi + ebp*4]
push 0x4b39e0
push ecx
call int.00489c6a
add esp, 8
test eax, eax
jne 0x40a92a
lea eax, [ebp + 1]
cmp eax, dword [esp + 0x14]
jge 0x40a92a
mov edi, 0x4dbd1c
mov ebp, eax
mov edx, dword [esi + ebp*4]
call fcn.0040b780
add ebp, 1
cmp ebp, dword [esp + 0x14]
jl 0x409ba4
mov byte [esp + 0x270], 0
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40a95f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x260], 8
jb 0x40a979
mov ecx, dword [esp + 0x24c]
push ecx
call fcn.00487c06
add esp, 4
xor eax, eax
push esi
mov dword [esp + 0x264], 7
mov dword [esp + 0x260], eax
mov word [esp + 0x250], ax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00488fa3
add esp, 0x260
ret
push 0x80070057
call fcn.00401050
int3