Function at 0x40346c
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
push esi
push edi
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xbc], eax
mov eax, 0x4a5624
call fcn.00493610
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x2fc], 0
je 0x4034b1
mov ecx, dword [ebp - 0xb8]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x40493c
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x2fc], 1
mov word [ebp - 0xa8], 8
push 1
push 0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x4a4802
call fcn.0040a594
add esp, 0x1c
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d4]
call fcn.0046d63c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004a2eb4
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x38]
sar edx, 1
jns 0x403529
adc edx, 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x2d4]
mov eax, dword [ecx + 0x38]
sar eax, 1
jns 0x40353f
adc eax, 0
sub edx, eax
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x2d4]
call fcn.0046cdc4
xor edx, edx
mov dword [ebp - 0xd0], edx
push 0x4a4824
push 0x30
call fcn.0040b328
pop ecx
push eax
call fcn.004955cc
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x403592
push dword [ebp - 0xc4]
call fcn.00494d9c
pop ecx
mov dword [ebp - 0xd0], 1
jmp 0x4035c8
push 0x4a4827
push 0x31
call fcn.0040b328
pop ecx
push eax
call fcn.004955cc
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x4035c8
push dword [ebp - 0xc4]
call fcn.00494d9c
pop ecx
mov dword [ebp - 0xd0], 1
push 0x2f
call fcn.0040b328
pop ecx
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xbc]
cmp byte [edx + 0x390], 0
je 0x403606
mov ecx, dword [ebp - 0xbc]
add ecx, 0x390
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xcc], 0x4a482a
jmp 0x403868
push 0x4a482b
push 0x32
call fcn.0040b328
pop ecx
push eax
call fcn.004955cc
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x403661
push dword [ebp - 0xc4]
call fcn.00494d9c
pop ecx
cmp dword [ebp - 0xd0], 0
jne 0x40364e
push 0x2b
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x403868
push 0x2d
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x403868
push 0x4a482e
push 0x33
call fcn.0040b328
pop ecx
push eax
call fcn.004955cc
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x4036bc
push dword [ebp - 0xc4]
call fcn.00494d9c
pop ecx
cmp dword [ebp - 0xd0], 0
jne 0x4036a9
push 0x2c
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x403868
push 0x2e
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x403868
mov dword [ebp - 0xd4], 1
mov word [ebp - 0xa8], 0x14
lea eax, [ebp - 0x10]
call fcn.0040229c
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 0x20
mov dword [ebp - 0x11c], 0x20
lea edx, [ebp - 0x11c]
push edx
call sub.KERNEL32.DLL_GlobalMemoryStatus
cmp dword [ebp - 0x114], 0xdc00000
jae 0x403773
xor ecx, ecx
mov dword [ebp - 0xd4], ecx
cmp dword [ebp - 0x114], 0x7800000
jae 0x403773
push 0x40104
push 1
push 0
push 0
push 2
push 0xffffffffffffffff
push 1
push 0x4a4861
call fcn.0040a594
add esp, 0x1c
push eax
push 1
push 0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x4a4831
call fcn.0040a594
add esp, 0x1c
push eax
mov eax, dword [ebp - 0xbc]
call fcn.00473310
push eax
call sub.USER32.DLL_MessageBoxA
cmp eax, 7
jne 0x403773
push 1
call fcn.0049d3e8
pop ecx
lea edx, [ebp - 0xd4]
push edx
mov ecx, dword [ebp - 0xbc]
mov dl, 1
mov eax, dword [0x4a62b0]
call fcn.00406a14
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x4037e5
mov eax, dword [ebp - 0xd8]
mov edx, dword [eax]
call dword [edx + 0xcc]
dec eax
je 0x4037af
push 1
call fcn.0049d3e8
pop ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x4037e5
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov word [ebp - 0xa8], 0x38
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0xa8], 0x2c
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
call dword [edx + 0x84]
cmp dword [ebp - 0xd4], 1
jne 0x403825
cmp dword [ebp - 0xd0], 0
jne 0x403815
push 0x2b
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x40384c
push 0x2d
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x40384c
cmp dword [ebp - 0xd0], 0
jne 0x40383e
push 0x2c
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
jmp 0x40384c
push 0x2e
call fcn.0040b328
pop ecx
mov dword [ebp - 0xc8], eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x38c], 0
jne 0x40389f
push 0x27
call fcn.0040b328
pop ecx
push eax
lea eax, [ebp - 0x180]
push eax
call fcn.0049323c
add esp, 8
push 0x28
call fcn.0040b378
pop ecx
mov dword [ebp - 0xdc], eax
jmp 0x403904
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x38c], 1
jne 0x4038d5
push 0xfc
push 1
push 0xa8
push 0xc0
push 0x4a4866
lea ecx, [ebp - 0x180]
push ecx
call fcn.00497328
add esp, 0x18
jmp 0x4038fa
push 0xfb
push 1
push 0xa8
push 0xc0
push str._d._d._d._d
lea eax, [ebp - 0x180]
push eax
call fcn.00497328
add esp, 0x18
mov dword [ebp - 0xdc], 0xd610
push 0x195c
call fcn.00492784
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x403972
mov word [ebp - 0xa8], 0x50
push 0
push 1
push 0
push 0
push 0
push 0
push 0x14
push dword [ebp - 0xbc]
push 0x4033b0
push 0x4a4884
push 0x4a487e
push 2
call fcn.0040b378
pop ecx
inc eax
push eax
push dword [ebp - 0xdc]
lea edx, [ebp - 0x180]
push edx
push dword [ebp - 0x1c]
call fcn.004229e4
add esp, 0x3c
mov word [ebp - 0xa8], 0x44
mov ecx, dword [ebp - 0x1c]
jmp 0x403975
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x310], ecx
test ecx, ecx
jne 0x403995
push 0x4a4888
call fcn.0040a4fc
pop ecx
jmp 0x404263
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0x310]
push edx
mov eax, dword [edx]
call dword [eax + 4]
pop ecx
test eax, eax
jne 0x404263
mov word [ebp - 0xa8], 0x5c
lea eax, [ebp - 0x20]
call fcn.0040229c
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 0x68
mov word [ebp - 0xa8], 0x74
mov edx, 0x4a489a
lea eax, [ebp - 0x24]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.004a2ee4
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x80
cmp dword [0x4e072c], 0
je 0x403a3b
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x310]
push eax
mov edx, dword [eax]
call dword [edx + 8]
pop ecx
push eax
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x403a50
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x310]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
pop ecx
mov edx, eax
lea eax, [ebp - 0x28]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x28]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x8c
mov edx, 0x4a489c
lea eax, [ebp - 0x2c]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x98
cmp dword [0x4e072c], 0
je 0x403ad8
push 0x4a48a2
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x403add
mov edx, 0x4a48b4
lea eax, [ebp - 0x30]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0xa4
cmp dword [0x4e072c], 0
je 0x403b2b
push 0x4a48c6
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x403b30
mov edx, 0x4a490b
lea eax, [ebp - 0x34]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0xb0
cmp dword [0x4e072c], 0
je 0x403b7e
push 0x4a4950
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x403b83
mov edx, 0x4a4982
lea eax, [ebp - 0x38]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0xbc
cmp dword [0x4e072c], 0
je 0x403bd1
push 0x4a49b4
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x403bd6
mov edx, 0x4a4a07
lea eax, [ebp - 0x3c]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0xc8
cmp dword [0x4e072c], 0
je 0x403c24
push 0x4a4a5a
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x403c29
mov edx, 0x4a4a91
lea eax, [ebp - 0x40]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x20]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004a2eb4
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x310]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x403c91
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx]
mov dword [ebp - 0x44], ecx
mov word [ebp - 0xa8], 0xe0
push 3
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [eax]
call dword [edx]
add esp, 8
mov word [ebp - 0xa8], 0xd4
mov ecx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ecx + 0x310], eax
xor edx, edx
mov dword [ebp - 0xe0], edx
mov word [ebp - 0xa8], 0x68
push 0x4a4ac8
mov ecx, dword [ebp - 0xbc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xec]
add esp, 8
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x2d8]
mov byte [ecx + 0x2c0], 0
mov word [ebp - 0xa8], 0xec
mov edx, 0x4a4ad8
lea eax, [ebp - 0x4c]
call fcn.004a2dfc
mov edx, eax
inc dword [ebp - 0x9c]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d8]
add eax, 0x2a4
call fcn.004a2ee4
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004a2eb4
push 4
call fcn.0040b328
pop ecx
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.0049323c
add esp, 8
push 0x29
call fcn.0040b328
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0x4a4ad9
lea edx, [ebp - 0x248]
push edx
call fcn.00497328
add esp, 0x10
mov word [ebp - 0xa8], 0xf8
mov word [ebp - 0xa8], 0x104
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x50]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d8]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x68
jmp 0x403dcc
cmp dword [ebp - 0xe0], 0
jne 0x4041b2
call fcn.0049b0b0
and eax, 0x80003fff
jns 0x403dec
dec eax
or eax, 0xffffc000
inc eax
push eax
push 0
call fcn.0049f19c
pop ecx
push eax
push 0x4a4af2
lea ecx, [ebp - 0x2ac]
push ecx
push str._s_s_id_lxcode_x
lea eax, [ebp - 0x248]
push eax
call fcn.00497328
add esp, 0x18
mov word [ebp - 0xa8], 0x110
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x2d8]
mov byte [ecx + 0x2c0], 1
mov word [ebp - 0xa8], 0x11c
mov edx, 0x4a4b06
lea eax, [ebp - 0x54]
call fcn.004a2dfc
mov edx, eax
inc dword [ebp - 0x9c]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d8]
add eax, 0x2a4
call fcn.004a2ee4
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x128
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x58]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d8]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.004a2eb4
push 0x150
push 0
lea ecx, [ebp - 0x3fc]
push ecx
call fcn.004930bc
add esp, 0xc
push 0x4a4b2e
push 0x4a4b1a
call fcn.004955cc
add esp, 8
mov dword [ebp - 0xe4], eax
test eax, eax
je 0x404199
push dword [ebp - 0xe4]
push 1
push 0x150
lea edx, [ebp - 0x3fc]
push edx
call fcn.00495844
add esp, 0x10
cmp eax, 1
jne 0x404182
mov byte [ebp - 0xe5], 0x66
mov word [ebp - 0xa8], 0x110
mov byte [ebp - 0xe6], 0x55
mov dword [ebp - 0xf0], 0x150
lea ecx, [ebp - 0x3fc]
mov dword [ebp - 0xec], ecx
mov eax, dword [ebp - 0xec]
mov dl, byte [ebp - 0xe5]
sub byte [eax], dl
add byte [ebp - 0xe5], 0x11
mov ecx, dword [ebp - 0xec]
mov al, byte [ebp - 0xe6]
xor byte [ecx], al
sub byte [ebp - 0xe6], 0xb
dec dword [ebp - 0xf0]
inc dword [ebp - 0xec]
cmp dword [ebp - 0xf0], 0
jg 0x403f44
mov dword [ebp - 0xf0], 0x54
lea edx, [ebp - 0x3fc]
mov dword [ebp - 0xf4], edx
or ecx, 0xffffffff
sub ecx, dword [ebp - 0x3f8]
inc ecx
mov dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0x3fc]
mov dword [ebp - 0xfc], eax
xor edx, edx
mov dword [ebp - 0x3fc], edx
mov dword [ebp - 0x3f8], edx
cmp dword [ebp - 0xf0], 0
jle 0x403ffe
mov eax, dword [ebp - 0xf4]
mov ecx, dword [eax]
add dword [ebp - 0xf8], ecx
mov eax, dword [ebp - 0xf4]
mov edx, dword [eax]
xor dword [ebp - 0xfc], edx
dec dword [ebp - 0xf0]
add dword [ebp - 0xf4], 4
cmp dword [ebp - 0xf0], 0
jg 0x403fcc
cmp dword [ebp - 0xf8], 0
jne 0x404182
cmp dword [ebp - 0xfc], 0
jne 0x404182
cmp dword [ebp - 0x3f4], 0x20190314
jne 0x404182
call fcn.00407150
cmp eax, 2
jl 0x40404a
cmp byte [ebp - 0x32c], 0
je 0x404060
lea ecx, [ebp - 0x32c]
push ecx
call fcn.0040a4fc
pop ecx
jmp 0x404060
cmp byte [ebp - 0x3ac], 0
je 0x404060
lea eax, [ebp - 0x3ac]
push eax
call fcn.0040a4fc
pop ecx
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
call dword [edx + 0x84]
cmp byte [ebp - 0x3ec], 0
je 0x404182
push 0x4a4b31
mov ecx, dword [ebp - 0xbc]
push ecx
mov eax, dword [ecx]
call dword [eax + 0xec]
add esp, 8
cmp dword [ebp - 0x3f0], 0
je 0x4040a7
mov edx, dword [ebp - 0x3f0]
mov dword [ebp - 0xdc], edx
push 0x195c
call fcn.00492784
pop ecx
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x40410e
mov word [ebp - 0xa8], 0x140
push 0
push 1
push 0
push 0
push 0
push 0
push 0x14
push 0
push 0
push 0x4a4b47
push 0x4a4b41
push 2
call fcn.0040b378
pop ecx
inc eax
push eax
push dword [ebp - 0xdc]
lea edx, [ebp - 0x3ec]
push edx
push dword [ebp - 0x5c]
call fcn.004229e4
add esp, 0x3c
mov word [ebp - 0xa8], 0x134
mov ecx, dword [ebp - 0x5c]
jmp 0x404111
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x310], ecx
test ecx, ecx
je 0x404182
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0x310]
push edx
mov eax, dword [edx]
call dword [eax + 4]
pop ecx
test eax, eax
jne 0x404182
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x310]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
je 0x404174
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
mov dword [ebp - 0x60], edx
mov word [ebp - 0xa8], 0x158
push 3
mov ecx, dword [ebp - 0x64]
push ecx
mov eax, dword [ecx]
call dword [eax]
add esp, 8
mov word [ebp - 0xa8], 0x14c
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [edx + 0x310], ecx
push dword [ebp - 0xe4]
call fcn.00494d9c
pop ecx
push str.wvinitmsg190314.bin
call fcn.00496448
pop ecx
mov word [ebp - 0xa8], 0x68
jmp 0x4041b2
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x310], 0
jne 0x404239
push dword [ebp - 0x20]
call fcn.0040a460
pop ecx
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
call dword [edx + 0x84]
push 0x3c
push 0
lea ecx, [ebp - 0x438]
push ecx
call fcn.004930bc
add esp, 0xc
mov dword [ebp - 0x438], 0x3c
mov dword [ebp - 0x42c], str.open
push 4
call fcn.0040b328
pop ecx
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0x4a4b64
mov dword [ebp - 0x434], 0x40
mov dword [ebp - 0x41c], 0xa
lea eax, [ebp - 0x438]
push eax
call sub.SHELL32.DLL_ShellExecuteExA
jmp 0x404247
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
call dword [edx + 0x84]
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x310], 0
je 0x404318
push 0x4a4b72
push str.wvlastna.bin
call fcn.004955cc
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x404318
push 0
push 1
push dword [ebp - 0xc4]
call fcn.00495920
add esp, 0xc
mov edx, dword [ebp - 0xbc]
mov byte [edx + 0x314], 0
push dword [ebp - 0xc4]
push 0x50
mov ecx, dword [ebp - 0xbc]
add ecx, 0x314
push ecx
call fcn.00494ecc
add esp, 0xc
test eax, eax
je 0x40430c
mov eax, dword [ebp - 0xbc]
cmp byte [eax + 0x314], 0
je 0x40430c
push 0
mov edx, dword [ebp - 0xbc]
add edx, 0x314
push edx
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x310]
push eax
mov edx, dword [eax]
call dword [edx + 0x318]
add esp, 0xc
push dword [ebp - 0xc4]
call fcn.00494d9c
pop ecx
mov ecx, dword [ebp - 0xbc]
cmp dword [ecx + 0x310], 0
je 0x404878
push 0x7638
call fcn.00492784
pop ecx
mov dword [ebp - 0x68], eax
test eax, eax
je 0x40438a
mov word [ebp - 0xa8], 0x170
mov edx, dword [ebp - 0xbc]
push dword [edx + 0x2f0]
mov ecx, dword [ebp - 0xbc]
push dword [ecx + 0x2d8]
push 1
push dword [ebp - 0xc8]
push dword [ebp - 0xbc]
push 0x403280
push dword [ebp - 0x68]
call fcn.004265ac
add esp, 0x1c
mov word [ebp - 0xa8], 0x164
mov eax, dword [ebp - 0x68]
jmp 0x40438d
mov eax, dword [ebp - 0x68]
mov edx, dword [ebp - 0xbc]
mov dword [edx + 0x304], eax
test eax, eax
je 0x404878
push 0x17
call fcn.0040b328
pop ecx
push eax
push 0x16
call fcn.0040b328
pop ecx
push eax
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x304]
push ecx
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0xc
mov edx, dword [ebp - 0xcc]
cmp byte [edx], 0
je 0x4043ee
push dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x304]
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
add esp, 8
push 0x19
call fcn.0040b328
pop ecx
push eax
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x304]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
add esp, 8
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x304]
mov dword [eax + 0x39ac], 0x4032a8
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x304]
mov eax, dword [ebp - 0xbc]
mov dword [ecx + 0x39b0], eax
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x304]
mov dword [ecx + 0x70a0], 0x4032c4
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0x304]
mov ecx, dword [ebp - 0xbc]
mov dword [edx + 0x70a4], ecx
push 0
mov eax, dword [ebp - 0xbc]
call fcn.00473310
push eax
call sub.USER32.DLL_GetWindowThreadProcessId
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x304]
mov dword [ecx + 0x7244], eax
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0x304]
mov dword [edx + 0x7248], 0x4033c8
mov dword [0x4f6458], 0x4032dc
mov word [ebp - 0xa8], 0x17c
lea eax, [ebp - 0x6c]
call fcn.0040229c
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 0x188
mov word [ebp - 0xa8], 0x194
cmp dword [0x4e072c], 0
je 0x4044ef
push 0x4a4b75
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x4044f4
mov edx, 0x4a4ba2
lea eax, [ebp - 0x70]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x1a0
cmp dword [0x4e072c], 0
je 0x404542
push 0x4a4bcf
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x404547
mov edx, 0x4a4c07
lea eax, [ebp - 0x74]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x6c]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x1ac
cmp dword [0x4e072c], 0
je 0x404595
push 0x4a4c3f
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x40459a
mov edx, 0x4a4c78
lea eax, [ebp - 0x78]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x6c]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x1b8
cmp dword [0x4e072c], 0
je 0x4045e8
push 0x4a4cb1
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x4045ed
mov edx, 0x4a4d03
lea eax, [ebp - 0x7c]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0x1c4
cmp dword [0x4e072c], 0
je 0x40463b
push 0x4a4d55
call dword [0x4e072c]
pop ecx
mov edx, eax
jmp 0x404640
mov edx, 0x4a4d88
lea eax, [ebp - 0x80]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x6c]
call fcn.004a2ef8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.004a2eb4
lea eax, [ebp - 0x6c]
call fcn.004022cc
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x304]
mov dword [ecx + 0x5534], eax
push 1
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0x304]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
add esp, 8
test eax, eax
jne 0x40471c
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax + 0x304]
push dword [edx + 0x5530]
call fcn.0040a4fc
pop ecx
mov word [ebp - 0xa8], 0x1d0
push 1
push 0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x4a4dbb
call fcn.0040a594
add esp, 0x1c
mov edx, eax
lea eax, [ebp - 0x84]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d4]
call fcn.0046d63c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.004a2eb4
jmp 0x4047f3
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x304]
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
pop ecx
test eax, eax
jle 0x40473e
push 0x4a4dd5
call fcn.0040a4fc
pop ecx
mov word [ebp - 0xa8], 0x1dc
push 1
push 0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x4a4e3b
call fcn.0040a594
add esp, 0x1c
mov edx, eax
lea eax, [ebp - 0x88]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d4]
call fcn.0046d63c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004a2eb4
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ecx + 0x38]
sar edx, 1
jns 0x4047ac
adc edx, 0
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax + 0x2d4]
mov eax, dword [ecx + 0x38]
sar eax, 1
jns 0x4047c2
adc eax, 0
sub edx, eax
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x2d4]
call fcn.0046cdc4
mov eax, dword [ebp - 0xbc]
mov edx, dword [eax]
call dword [edx + 0x84]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + 0x308], 1
mov eax, dword [ebp - 0xbc]
mov dword [eax + 0x30c], 1
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x304]
mov dword [ebp - 0x90], ecx
cmp dword [ebp - 0x90], 0
je 0x40484e
mov eax, dword [ebp - 0x90]
mov edx, dword [eax]
mov dword [ebp - 0x8c], edx
mov word [ebp - 0xa8], 0x1f4
push 3
mov ecx, dword [ebp - 0x90]
push ecx
mov eax, dword [ecx]
call dword [eax]
add esp, 8
mov word [ebp - 0xa8], 0x1e8
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [edx + 0x304], ecx
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.004a2eb4
mov word [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x2e4]
cmp byte [eax + 0x2c], 0
jne 0x4048ae
mov edx, dword [ebp - 0xbc]
cmp dword [edx + 0x304], 0
je 0x4048bb
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x304]
cmp dword [eax + 0x709c], 0
je 0x4048bb
mov eax, dword [ebp - 0xbc]
call fcn.004629ec
jmp 0x40492f
mov edx, dword [ebp - 0xbc]
mov ecx, dword [edx + 0x310]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x34]
pop ecx
mov edx, dword [ebp - 0xbc]
xor ecx, ecx
mov dword [edx + 0x384], ecx
push 0x4a4e51
call fcn.0040a4fc
pop ecx
mov word [ebp - 0xa8], pe_nt_image_headers32
mov edx, 0x4a4e5b
lea eax, [ebp - 0x94]
call fcn.004a2dfc
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax + 0x2d4]
call fcn.0046d63c
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004a2eb4
mov ecx, dword [ebp - 0xb8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret