Function at 0x412234
Capabilities:
Enumerate files on windows
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f0
mov dword [ebp - 0x38], 0xa7
mov dword [ebp - 0x164], 0xff
mov dword [ebp - 0x34], 0x79
mov dword [ebp - 4], 0x29
mov dword [ebp - 0x14], 0xe1
mov dword [ebp - 0x10], 0x31
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0x8f
mov dword [ebp - 0x78], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0x85
jmp 0x412298
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xa1
jae 0x412438
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x18]
xor ecx, dword [0x42181c]
jne 0x4122f3
mov edx, dword [ebp - 0x28]
add edx, dword [ebp - 0x88]
jne 0x4122f3
mov dword [ebp - 0x7c], 0
jmp 0x4122fa
mov dword [ebp - 0x7c], 1
cmp dword [ebp - 0x7c], 0
je 0x412332
mov eax, dword [ebp + 0xc]
and eax, dword [ebp - 8]
jne 0x412319
mov ecx, dword [ebp - 8]
and ecx, dword [ebp - 0x18]
jne 0x412319
mov dword [ebp - 0x80], 0
jmp 0x412320
mov dword [ebp - 0x80], 1
cmp dword [ebp - 0x80], 0
je 0x412332
mov dword [ebp - 0x84], 1
jmp 0x41233c
mov dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 0
je 0x412389
mov edx, dword [ebp + 0xc]
imul edx, dword [ebp - 0x88]
mov eax, dword [0x42180c]
sub eax, dword [ebp - 0x130]
cmp edx, eax
jbe 0x41236a
mov dword [ebp - 0x8c], 1
jmp 0x412374
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x412389
mov dword [ebp - 0x90], 1
jmp 0x412393
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
je 0x4123ea
mov ecx, dword [ebp - 0x158]
and ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x4c]
cmp ecx, edx
je 0x4123be
mov dword [ebp - 0x94], 1
jmp 0x4123c8
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
je 0x4123ea
mov dword [ebp - 0x184], 0xf5
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 4], eax
jmp 0x412424
mov dword [ebp - 0x188], 0x92
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x18c], 0xec
mov dword [ebp - 0x15c], 0
mov ecx, dword [ebp - 0x15c]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x9c]
mov dword [ebp - 0x160], edx
jmp 0x41228f
push 0
push 0xffffffffffffffff
push 0x421828
push 0xffffffffffffffff
push str.gwkjnq
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x40], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov dword [ebp - 8], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x34], eax
push 0
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x412493
mov dword [ebp - 8], 0xb89
lea eax, [ebp - 0x44]
push eax
push str.JeIwNCAV
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x4124c9
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4124ac
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x2c], 0x54
jmp 0x4124e1
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0x56
jae 0x41295d
mov dword [ebp - 0x190], 0x9b
mov dword [ebp - 0xc], 0xc3
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
xor edx, edx
div dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x164]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
and ecx, dword [ebp + 8]
cmp eax, ecx
jne 0x41253f
mov dword [ebp - 0xa0], 1
jmp 0x412549
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
jne 0x41258d
mov edx, dword [ebp - 0x50]
or edx, dword [ebp - 4]
mov eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x50]
cmp edx, eax
jne 0x41256e
mov dword [ebp - 0xa4], 1
jmp 0x412578
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
jne 0x41258d
mov dword [ebp - 0xa8], 0
jmp 0x412597
mov dword [ebp - 0xa8], 1
cmp dword [ebp - 0xa8], 0
jne 0x4125e1
mov ecx, dword [0x4217e4]
and ecx, dword [ebp - 0x20]
je 0x4125c2
mov edx, dword [ebp - 0x34]
sub edx, dword [0x4217f4]
je 0x4125c2
mov dword [ebp - 0xac], 1
jmp 0x4125cc
mov dword [ebp - 0xac], 0
cmp dword [ebp - 0xac], 0
jne 0x4125e1
mov dword [ebp - 0xb0], 0
jmp 0x4125eb
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0xb0], 0
jne 0x412627
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x24]
jne 0x412610
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x50]
jne 0x412610
mov dword [ebp - 0xb4], 0
jmp 0x41261a
mov dword [ebp - 0xb4], 1
cmp dword [ebp - 0xb4], 0
je 0x41281d
mov dword [ebp - 0x194], 0xfa
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x168], 0x58
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0x16c], 0
mov edx, dword [ebp - 0x168]
xor edx, dword [ebp - 0x16c]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0x2c]
sub eax, dword [0x421808]
mov ecx, dword [ebp - 0x44]
or ecx, dword [ebp - 8]
cmp eax, ecx
jbe 0x41269e
mov dword [ebp - 0xb8], 1
jmp 0x4126a8
mov dword [ebp - 0xb8], 0
cmp dword [ebp - 0xb8], 0
jne 0x4126ef
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp + 8]
je 0x4126d0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x20]
test eax, eax
je 0x4126d0
mov dword [ebp - 0xbc], 1
jmp 0x4126da
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
jne 0x4126ef
mov dword [ebp - 0xc0], 0
jmp 0x4126f9
mov dword [ebp - 0xc0], 1
cmp dword [ebp - 0xc0], 0
jne 0x412746
mov ecx, dword [ebp - 0x20]
sub ecx, dword [0x4217e0]
mov edx, dword [ebp - 0xd8]
add edx, dword [0x421814]
cmp ecx, edx
jae 0x412727
mov dword [ebp - 0xc4], 1
jmp 0x412731
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
jne 0x412746
mov dword [ebp - 0xc8], 0
jmp 0x412750
mov dword [ebp - 0xc8], 1
cmp dword [ebp - 0xc8], 0
jne 0x412796
mov eax, dword [0x4217e8]
add eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 0x3c]
cmp eax, ecx
jne 0x412777
mov dword [ebp - 0xcc], 1
jmp 0x412781
mov dword [ebp - 0xcc], 0
cmp dword [ebp - 0xcc], 0
jne 0x412796
mov dword [ebp - 0xd0], 0
jmp 0x4127a0
mov dword [ebp - 0xd0], 1
cmp dword [ebp - 0xd0], 0
jne 0x4127e4
mov edx, dword [ebp - 0xd4]
sub edx, dword [ebp - 0xd8]
jne 0x4127d1
mov eax, dword [ebp - 0xdc]
xor eax, dword [ebp - 0xdc]
jne 0x4127d1
mov dword [ebp - 0xe0], 0
jmp 0x4127db
mov dword [ebp - 0xe0], 1
cmp dword [ebp - 0xe0], 0
je 0x412802
mov dword [ebp - 0x19c], 0x30
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
and ecx, dword [ebp - 0x54]
mov dword [ebp - 0x54], ecx
jmp 0x41281d
mov dword [ebp - 0x1a0], 0xa4
mov edx, dword [0x42180c]
sub edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], edx
jmp 0x412520
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
sub ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0xe2
ja case.0x412843.1
mov edx, dword [ebp - 0x30]
movzx eax, byte [edx + 0x413070]
jmp dword [eax*4 + 0x413058]
mov dword [ebp - 0x1a4], 0x96
mov dword [ebp - 0x1a8], 0xf0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b0], 0
mov ecx, dword [0x421800]
add ecx, dword [0x42181c]
add ecx, dword [0x421820]
mov edx, dword [0x421818]
lea eax, [ecx + edx - 0x151]
push eax
call fcn.00402292
add esp, 4
mov ecx, dword [ebp - 0x58]
imul ecx, dword [ebp - 0x58]
mov dword [ebp - 0x58], ecx
jmp 0x41294f
mov edx, dword [0x4217e0]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 4], eax
jmp 0x41294f
mov dword [ebp - 0x1b4], 0x72
mov eax, dword [0x421800]
add eax, dword [ebp - 0x18]
mov dword [0x4217f4], eax
jmp 0x41294f
mov dword [ebp - 0x1b8], 0x62
mov ecx, dword [0x421814]
imul ecx, dword [0x4217e0]
mov dword [0x421800], ecx
jmp 0x41294f
mov dword [ebp - 0x1bc], 0x4c
mov dword [ebp - 0x1c0], 0xdd
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0x40], eax
jmp 0x41294f
mov dword [ebp - 0x1c4], 0xed
mov dword [ebp - 0x170], 0x44
mov dword [ebp - 0x1c8], 0x8a
mov eax, dword [0x4217e8]
or eax, dword [0x42181c]
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0xc]
or ecx, dword [ebp - 0x24]
mov dword [ebp - 0xc], ecx
jmp 0x4124d8
mov edx, dword [ebp + 8]
push edx
call dword [ebp + 0x10]
add esp, 4
mov eax, dword [ebp - 0x78]
and eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
and ecx, dword [str.AJ]
cmp eax, ecx
jbe 0x412986
mov dword [ebp - 0xe4], 1
jmp 0x412990
mov dword [ebp - 0xe4], 0
cmp dword [ebp - 0xe4], 0
jne 0x4129db
mov edx, dword [ebp - 4]
xor edx, dword [0x4217ec]
mov eax, dword [ebp - 8]
imul eax, dword [0x42180c]
cmp edx, eax
je 0x4129bc
mov dword [ebp - 0xe8], 1
jmp 0x4129c6
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
jne 0x4129db
mov dword [ebp - 0xec], 0
jmp 0x4129e5
mov dword [ebp - 0xec], 1
cmp dword [ebp - 0xec], 0
jne 0x412a2f
mov ecx, dword [ebp - 0x10]
or ecx, dword [str.AJ]
mov edx, dword [0x421800]
and edx, dword [ebp - 0x10]
cmp ecx, edx
je 0x412a10
mov dword [ebp - 0xf0], 1
jmp 0x412a1a
mov dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0
jne 0x412a2f
mov dword [ebp - 0xf4], 0
jmp 0x412a39
mov dword [ebp - 0xf4], 1
cmp dword [ebp - 0xf4], 0
jne 0x412a82
mov eax, dword [0x4217ec]
or eax, dword [0x421824]
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 4]
cmp eax, ecx
jbe 0x412a63
mov dword [ebp - 0xf8], 1
jmp 0x412a6d
mov dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0
jne 0x412a82
mov dword [ebp - 0xfc], 0
jmp 0x412a8c
mov dword [ebp - 0xfc], 1
cmp dword [ebp - 0xfc], 0
jne 0x412ac8
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x48]
je 0x412ab1
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x10]
je 0x412ab1
mov dword [ebp - 0x100], 1
jmp 0x412abb
mov dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0
je 0x412d40
mov dword [ebp - 0x5c], 0xc8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x60], 0
mov ecx, dword [0x421800]
push ecx
call fcn.0040bf14
add esp, 4
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040bf14
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x5c], eax
push 0
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x412b29
mov dword [ebp - 0x1c], 0x479
push 0
push 0xffffffffffffffff
push str.coilitqgc
push 0xffffffffffffffff
push str.isjbrv
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x3c]
and ecx, dword [0x4217fc]
mov edx, dword [ebp - 8]
add edx, dword [0x42180c]
cmp ecx, edx
jbe 0x412b6b
mov dword [ebp - 0x104], 1
jmp 0x412b75
mov dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0
jne 0x412bad
mov eax, dword [ebp - 0x60]
and eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x1c]
cmp eax, ecx
je 0x412b9a
mov dword [ebp - 0x108], 1
jmp 0x412ba4
mov dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
je 0x412c1d
mov dword [ebp - 0x10c], 0xe0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x114], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
movzx eax, word [edx]
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x10c]
movzx edx, word [ecx]
mov dword [ebp - 0x110], edx
mov eax, dword [ebp - 0x110]
and eax, dword [ebp - 0x114]
mov dword [ebp - 0x174], eax
jmp 0x412c3b
mov dword [ebp - 0x178], 0x38
push fcn.00418e94
mov ecx, dword [ebp - 0x178]
push ecx
call fcn.00415df4
add esp, 8
mov edx, dword [ebp + 0x10]
xor edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
xor eax, dword [0x4217f4]
cmp edx, eax
jbe 0x412c5a
mov dword [ebp - 0x118], 1
jmp 0x412c64
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0
je 0x412cae
mov ecx, dword [ebp - 0x5c]
xor ecx, dword [0x421824]
mov edx, dword [0x4217e0]
sub edx, dword [ebp - 0x48]
cmp ecx, edx
je 0x412c8f
mov dword [ebp - 0x11c], 1
jmp 0x412c99
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0
je 0x412cae
mov dword [ebp - 0x120], 1
jmp 0x412cb8
mov dword [ebp - 0x120], 0
cmp dword [ebp - 0x120], 0
je 0x412d2b
mov eax, dword [ebp - 0x17c]
xor edx, edx
div dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x1c]
cmp eax, ecx
jbe 0x412ce2
mov dword [ebp - 0x124], 1
jmp 0x412cec
mov dword [ebp - 0x124], 0
cmp dword [ebp - 0x124], 0
je 0x412d2b
mov dword [ebp - 0x1cc], 0x77
mov edx, dword [0x4217f0]
or edx, dword [0x4217e8]
mov dword [ebp + 8], edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x4217f0]
sub ecx, dword [0x4217fc]
mov dword [ebp - 0x130], ecx
jmp 0x412d3b
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
add edx, dword [ebp - 0x64]
mov dword [ebp - 0x64], edx
jmp 0x412e4f
mov eax, dword [ebp - 0x20]
push eax
call fcn.0040bf14
add esp, 4
mov ecx, dword [ebp - 0x40]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
mov dword [0x4217e8], edx
push fcn.00415df4
mov eax, dword [ebp - 0x1d0]
push eax
call fcn.0040e4a4
add esp, 8
mov ecx, eax
mov eax, dword [ebp - 0x44]
xor edx, edx
div dword [0x42181c]
cmp ecx, eax
jbe 0x412d8e
mov dword [ebp - 0x128], 1
jmp 0x412d98
mov dword [ebp - 0x128], 0
mov eax, dword [ebp - 0x20]
xor edx, edx
div dword [0x421818]
mov dword [0x421814], eax
push fcn.00415df4
mov edx, dword [ebp - 0x14]
push edx
call fcn.0040e4a4
add esp, 8
cmp eax, dword [0x421814]
je 0x412dcd
mov dword [ebp - 0x12c], 1
jmp 0x412dd7
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x12c]
jne 0x412e2a
mov dword [ebp - 0x1d4], 0x5c
push fcn.00418e94
mov ecx, dword [0x4217e8]
push ecx
call fcn.00415df4
add esp, 8
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [0x421820], eax
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [str.AJ], eax
jmp 0x412e4f
mov dword [ebp - 0x1d8], 0x67
mov dword [ebp - 0x1dc], 0x99
push fcn.00418e94
mov edx, dword [ebp - 4]
push edx
call fcn.00415df4
add esp, 8
mov dword [ebp - 0x68], 0x73
jmp 0x412e61
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xc2
jae 0x41304e
mov dword [ebp - 0x1e0], 0x49
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x1e8], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x148], 0
mov ecx, dword [ebp - 0x6c]
sub ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x70], ecx
mov edx, dword [0x421808]
or edx, dword [ebp - 0x6c]
mov eax, dword [0x4217f4]
imul eax, dword [0x421818]
cmp edx, eax
jbe 0x412edf
mov dword [ebp - 0x134], 1
jmp 0x412ee9
mov dword [ebp - 0x134], 0
cmp dword [ebp - 0x134], 0
je 0x412f36
mov ecx, dword [0x421814]
and ecx, dword [ebp + 0xc]
mov edx, dword [0x4217f0]
or edx, dword [ebp - 0x148]
cmp ecx, edx
jae 0x412f17
mov dword [ebp - 0x138], 1
jmp 0x412f21
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x138], 0
je 0x412f36
mov dword [ebp - 0x13c], 1
jmp 0x412f40
mov dword [ebp - 0x13c], 0
cmp dword [ebp - 0x13c], 0
je 0x412f8a
mov eax, dword [ebp - 0x14]
or eax, dword [0x4217fc]
mov ecx, dword [0x421800]
and ecx, dword [ebp - 0x18]
cmp eax, ecx
je 0x412f6b
mov dword [ebp - 0x140], 1
jmp 0x412f75
mov dword [ebp - 0x140], 0
cmp dword [ebp - 0x140], 0
je 0x412f8a
mov dword [ebp - 0x144], 1
jmp 0x412f94
mov dword [ebp - 0x144], 0
cmp dword [ebp - 0x144], 0
je 0x413008
mov edx, dword [ebp - 0x6c]
and edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x70]
imul eax, dword [ebp - 0x14c]
cmp edx, eax
jae 0x412fc0
mov dword [ebp - 0x150], 1
jmp 0x412fca
mov dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0
je 0x413008
mov ecx, dword [0x4217f4]
sub ecx, dword [0x4217f0]
mov dword [0x421808], ecx
mov edx, dword [0x421808]
sub edx, dword [ebp - 0x70]
mov dword [0x4217f0], edx
mov eax, dword [0x421804]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov dword [ebp - 0x1ec], eax
jmp 0x413049
mov dword [ebp - 0x1f0], 0x97
mov dword [ebp - 0x74], 0xa4
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x180], 0
mov ecx, dword [ebp - 0x74]
imul ecx, dword [ebp - 0x154]
mov dword [ebp - 0x180], ecx
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x74]
mov dword [ebp - 0x154], edx
jmp 0x412e58
mov eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x78]
mov esp, ebp
pop ebp
ret