Function at 0x40c7a1
Capabilities:
Enumerate files on windows
Get file attributes
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov dword [ebp - 0x40], 0x44
mov dword [ebp - 0x2c], 0x9a
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x3c], 0xb8
mov dword [ebp - 0x28], 0x9e
mov dword [ebp - 0x18], 0x2d
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0x85
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0x43
mov dword [ebp - 0x4c], 0
mov eax, dword [0x419128]
xor eax, dword [0x419118]
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [0x41911c]
cmp eax, ecx
je 0x40c818
mov dword [ebp - 0x7c], 1
jmp 0x40c81f
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0
jne 0x40c85a
mov edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x24]
je 0x40c841
mov eax, dword [ebp - 0x3c]
xor eax, dword [0x419110]
je 0x40c841
mov dword [ebp - 0x80], 1
jmp 0x40c848
mov dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0
jne 0x40c85a
mov dword [ebp - 0x84], 0
jmp 0x40c864
mov dword [ebp - 0x84], 1
cmp dword [ebp - 0x84], 0
jne 0x40c8a0
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
sub edx, dword [ebp - 0x10]
cmp ecx, edx
je 0x40c889
mov dword [ebp - 0x88], 1
jmp 0x40c893
mov dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0
je 0x40cff2
mov dword [ebp - 4], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xc8], 0x8a
mov dword [ebp - 0x5c], 0x15
mov dword [ebp - 0x34], 0x82
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
and eax, dword [0x4190d4]
mov ecx, dword [0x419114]
add ecx, dword [0x419120]
cmp eax, ecx
jne 0x40c8fc
mov dword [ebp - 0x8c], 1
jmp 0x40c906
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x40c94d
mov edx, dword [ebp - 0xc]
add edx, dword [0x4190e4]
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x14]
cmp edx, eax
jae 0x40c92e
mov dword [ebp - 0x90], 1
jmp 0x40c938
mov dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0
je 0x40c94d
mov dword [ebp - 0x94], 1
jmp 0x40c957
mov dword [ebp - 0x94], 0
cmp dword [ebp - 0x94], 0
je 0x40c99b
mov ecx, dword [ebp - 0xc]
and ecx, dword [ebp - 0x14]
jne 0x40c97c
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x10]
jne 0x40c97c
mov dword [ebp - 0x98], 0
jmp 0x40c986
mov dword [ebp - 0x98], 1
cmp dword [ebp - 0x98], 0
je 0x40c99b
mov dword [ebp - 0x9c], 1
jmp 0x40c9a5
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x9c], 0
je 0x40c9f3
mov eax, dword [ebp - 0x40]
imul eax, dword [0x419118]
mov ecx, dword [0x4190c0]
xor ecx, dword [0x419110]
cmp eax, ecx
jbe 0x40c9d4
mov dword [ebp - 0xa0], 1
jmp 0x40c9de
mov dword [ebp - 0xa0], 0
cmp dword [ebp - 0xa0], 0
je 0x40c9f3
mov dword [ebp - 0xa4], 1
jmp 0x40c9fd
mov dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0
je 0x40ca5a
mov edx, dword [ebp - 4]
xor edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 4]
cmp edx, eax
je 0x40ca26
mov dword [ebp - 0xa8], 1
jmp 0x40ca30
mov dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0
je 0x40ca5a
mov dword [ebp - 0x168], 0x8f
mov ecx, dword [0x4190d8]
sub ecx, dword [0x41912c]
mov dword [0x419124], ecx
jmp 0x40cb85
mov dword [ebp - 0x16c], 0xee
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x130], 0x67
mov dword [ebp - 0xac], 0
mov dword [ebp - 0x50], 0
mov edx, dword [0x4190dc]
push edx
push 0xffffffffffffffeb
mov eax, dword [0x4190d4]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.irpj.Zny
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x12c], eax
push 0
push 0xffffffffffffffff
push str.wcrygyz
push 0xffffffffffffffff
push str.axrdt
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0xac], eax
push 0
push 0
push 0
lea ecx, [ebp - 0x240]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jle 0x40cb0b
lea edx, [ebp - 0x240]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x240]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40cad8
push 0
push 0xffffffffffffffff
push str.xomkji
push 0xffffffffffffffff
push str.tvtdq
push 0
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x50], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
movzx edx, word [ecx]
mov dword [ebp - 0xac], edx
mov eax, dword [ebp - 0x130]
xor edx, edx
div dword [ebp - 0x50]
mov dword [ebp - 0x50], eax
mov eax, dword [0x419130]
push eax
call fcn.0040ba01
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
push str.JlxSbMulPzRK
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x30], eax
mov dword [ebp + 8], 0
push str.UFaGPJbmRQe.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x38]
or edx, dword [0x4190c0]
jne 0x40cbac
mov eax, dword [0x41912c]
imul eax, dword [0x419130]
test eax, eax
jne 0x40cbac
mov dword [ebp - 0xb0], 0
jmp 0x40cbb6
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0xb0], 0
jne 0x40cbee
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
xor edx, dword [ebp - 0x5c]
cmp ecx, edx
jae 0x40cbdb
mov dword [ebp - 0xb4], 1
jmp 0x40cbe5
mov dword [ebp - 0xb4], 0
cmp dword [ebp - 0xb4], 0
je 0x40cc6d
mov dword [ebp - 0x170], 0x2e
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x17c], 0x66
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x134], 0
mov eax, dword [0x4190c0]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040a771
add esp, 8
mov edx, dword [ebp - 0x134]
imul edx, dword [ebp - 0xb8]
mov dword [ebp - 0xb8], edx
push str.KjAQFr
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
jmp 0x40cc83
mov dword [ebp - 0x184], 0xd2
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x419128]
or edx, dword [ebp - 4]
mov eax, dword [ebp - 0x138]
imul eax, dword [0x41911c]
cmp edx, eax
jae 0x40cca9
mov dword [ebp - 0xbc], 1
jmp 0x40ccb3
mov dword [ebp - 0xbc], 0
cmp dword [ebp - 0xbc], 0
je 0x40ccfd
mov ecx, dword [ebp - 0x14]
xor ecx, dword [0x419130]
je 0x40ccde
mov edx, dword [0x4190d4]
add edx, dword [ebp - 0xc]
je 0x40ccde
mov dword [ebp - 0xc0], 1
jmp 0x40cce8
mov dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0
je 0x40ccfd
mov dword [ebp - 0xc4], 1
jmp 0x40cd07
mov dword [ebp - 0xc4], 0
cmp dword [ebp - 0xc4], 0
je 0x40cd51
mov eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x1c]
jne 0x40cd32
mov ecx, dword [0x41912c]
xor ecx, dword [ebp - 0xc8]
jne 0x40cd32
mov dword [ebp - 0xcc], 0
jmp 0x40cd3c
mov dword [ebp - 0xcc], 1
cmp dword [ebp - 0xcc], 0
je 0x40cd51
mov dword [ebp - 0xd0], 1
jmp 0x40cd5b
mov dword [ebp - 0xd0], 0
cmp dword [ebp - 0xd0], 0
je 0x40cdb1
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 4]
je 0x40cd80
mov eax, dword [ebp - 8]
and eax, dword [ebp - 0x34]
je 0x40cd80
mov dword [ebp - 0xd4], 1
jmp 0x40cd8a
mov dword [ebp - 0xd4], 0
cmp dword [ebp - 0xd4], 0
je 0x40cdb1
mov dword [ebp - 0x188], 0x7b
mov ecx, dword [0x4190d0]
and ecx, dword [0x419114]
mov dword [0x419128], ecx
jmp 0x40cdeb
mov dword [ebp - 0x18c], 0xc3
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x54]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0040ec41
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40ce08
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x40cdeb
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [0x4190d0]
sub edx, dword [0x4190bc]
je 0x40ce30
mov eax, dword [ebp - 0x30]
xor eax, dword [ebp - 0x38]
je 0x40ce30
mov dword [ebp - 0xd8], 1
jmp 0x40ce3a
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0xd8], 0
jne 0x40ce84
mov ecx, dword [ebp - 0xdc]
and ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x138]
and edx, dword [ebp - 0x30]
cmp ecx, edx
je 0x40ce65
mov dword [ebp - 0xe0], 1
jmp 0x40ce6f
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
jne 0x40ce84
mov dword [ebp - 0xe4], 0
jmp 0x40ce8e
mov dword [ebp - 0xe4], 1
cmp dword [ebp - 0xe4], 0
jne 0x40ced6
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 8]
mov ecx, dword [0x419124]
add ecx, dword [ebp - 0x20]
cmp eax, ecx
jne 0x40ceb7
mov dword [ebp - 0xe8], 1
jmp 0x40cec1
mov dword [ebp - 0xe8], 0
cmp dword [ebp - 0xe8], 0
jne 0x40ced6
mov dword [ebp - 0xec], 0
jmp 0x40cee0
mov dword [ebp - 0xec], 1
cmp dword [ebp - 0xec], 0
jne 0x40cf2d
mov edx, dword [ebp - 8]
add edx, dword [0x419130]
mov eax, dword [0x419118]
imul eax, dword [0x419110]
cmp edx, eax
je 0x40cf0e
mov dword [ebp - 0xf0], 1
jmp 0x40cf18
mov dword [ebp - 0xf0], 0
cmp dword [ebp - 0xf0], 0
jne 0x40cf2d
mov dword [ebp - 0xf4], 0
jmp 0x40cf37
mov dword [ebp - 0xf4], 1
cmp dword [ebp - 0xf4], 0
jne 0x40cf71
mov ecx, dword [ebp - 8]
imul ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x34]
cmp ecx, edx
jne 0x40cf5e
mov dword [ebp - 0xf8], 1
jmp 0x40cf68
mov dword [ebp - 0xf8], 0
cmp dword [ebp - 0xf8], 0
je 0x40cfb7
mov dword [ebp - 0x198], 0x12
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x1a0], 0
mov eax, dword [0x419114]
push eax
mov ecx, dword [0x419128]
push ecx
call fcn.00411ab1
add esp, 8
mov edx, dword [ebp - 0x58]
imul edx, dword [ebp - 0x58]
mov dword [ebp - 0x58], edx
jmp 0x40cff0
mov dword [ebp - 0x1a4], 0x90
mov eax, dword [0x4190c4]
push eax
mov ecx, dword [0x4190d8]
push ecx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [0x4190d8], eax
mov edx, dword [ebp - 0x24]
or edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x5c]
mov dword [0x4190bc], eax
jmp 0x40d016
mov eax, dword [ebp - 0x2c]
xor edx, edx
div dword [0x4190d4]
mov dword [0x419124], eax
mov ecx, dword [0x4190e4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.OLEAUT32.dll_SafeArrayAllocDescriptor]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x50
je 0x40d09b
cmp dword [ebp - 0x60], 0x64
je 0x40d036
cmp dword [ebp - 0x60], 0xcd
je 0x40d063
jmp 0x40d0c9
mov dword [ebp - 0x1ac], 0x3c
mov ecx, dword [ebp - 0x20]
or ecx, dword [ebp - 0x20]
mov dword [0x41911c], ecx
mov edx, dword [0x4190c0]
add edx, dword [0x4190d4]
mov dword [0x4190d4], edx
jmp 0x40d186
mov dword [ebp - 0x1b0], 0x60
mov eax, dword [0x4190bc]
sub eax, dword [0x41912c]
mov dword [0x4190bc], eax
mov ecx, dword [0x419130]
push ecx
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.GDI32.dll_SetArcDirection]
mov dword [0x4190c4], eax
jmp 0x40d186
mov dword [ebp - 0x13c], 0x2a
mov eax, dword [0x4190c4]
xor edx, edx
div dword [0x419118]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x1b8], eax
jmp 0x40d186
mov dword [ebp - 0x1bc], 0
mov dword [ebp - 0x1c0], pe_nt_image_headers32
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x1c4], 4
mov dword [ebp - 0x100], 0x80
mov dword [ebp - 0xfc], 0x70
mov dword [ebp - 0x1c8], 0
mov ecx, dword [0x419114]
push ecx
call fcn.0040a511
add esp, 4
mov edx, dword [ebp - 0xfc]
and edx, dword [ebp - 0xfc]
mov dword [ebp - 0x100], edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax]
mov dword [ebp - 0x140], ecx
lea edx, [ebp - 0x40]
push edx
push str.RIPyvuPOy
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x40d17d
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
jmp 0x40d160
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x100], eax
push fcn.0040a771
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0040f8d1
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0xd1
ja case.0x40d1c1.1
mov ecx, dword [ebp - 0x104]
movzx edx, byte [ecx + 0x40d675]
jmp dword [edx*4 + 0x40d655]
mov dword [ebp - 0x1cc], 0x78
mov eax, dword [0x419110]
imul eax, dword [ebp + 8]
mov dword [0x419110], eax
mov ecx, dword [0x4190cc]
or ecx, dword [ebp - 0x2c]
mov dword [0x4190e4], ecx
mov edx, dword [0x4190bc]
push edx
mov eax, dword [0x419128]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x419118], eax
jmp 0x40d3b0
mov dword [ebp - 0x1d0], 0x41
mov ecx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x40]
mov dword [0x419124], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [0x419110]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4190c8], eax
mov ecx, dword [0x41911c]
imul ecx, dword [ebp - 0x1d4]
mov dword [0x4190c4], ecx
jmp 0x40d3b0
mov dword [ebp - 0x1d8], 0x2c
mov edx, dword [ebp - 0x68]
or edx, dword [ebp - 0x28]
mov dword [0x4190d0], edx
mov eax, dword [0x419114]
imul eax, dword [0x419114]
mov dword [0x419120], eax
mov ecx, dword [0x4190bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [0x419114], eax
jmp 0x40d3b0
push fcn.0040a511
mov edx, dword [ebp - 0x68]
push edx
call fcn.0040d751
add esp, 8
jmp 0x40d3b0
mov dword [ebp - 0x1dc], 0x44
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], 0xb5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x2c], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
movzx ecx, word [eax]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx]
mov dword [ebp - 0x14c], eax
jmp 0x40d3b0
mov dword [ebp - 0x1e0], 0x67
mov dword [ebp - 0x1e4], 0xc5
mov ecx, dword [0x419120]
or ecx, dword [ebp - 0x24]
mov dword [0x419128], ecx
mov edx, dword [0x419130]
imul edx, dword [0x4190cc]
mov dword [0x419130], edx
mov eax, dword [0x419124]
push eax
call fcn.00409e71
add esp, 4
jmp 0x40d3b0
mov dword [ebp - 0x1e8], 3
mov dword [ebp - 0x1ec], 0x1a
mov ecx, dword [0x419118]
or ecx, dword [0x4190d0]
mov dword [0x419120], ecx
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [0x4190d8], eax
mov ecx, dword [0x4190dc]
push ecx
mov edx, dword [0x4190e0]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [0x4190c8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x4190d4], eax
jmp 0x40d3b0
mov dword [ebp - 0x1f0], 0x44
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040b141
add esp, 4
mov dword [ebp - 0x44], 0x84
jmp 0x40d3c2
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x97
jae 0x40d649
mov dword [ebp - 0x1f4], 0x41
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x114], 0x6b
mov dword [ebp - 0x78], 0xb0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x74], 0
mov ecx, dword [ebp - 0x6c]
and ecx, dword [ebp - 0x48]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x6c]
xor edx, dword [ebp - 0x74]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x70]
sub ecx, dword [ebp - 0x18]
cmp eax, ecx
jne 0x40d42d
mov dword [ebp - 0x108], 1
jmp 0x40d437
mov dword [ebp - 0x108], 0
cmp dword [ebp - 0x108], 0
je 0x40d483
mov edx, dword [0x4190c8]
or edx, dword [0x4190e4]
mov eax, dword [0x4190d4]
sub eax, dword [ebp - 0x44]
cmp edx, eax
jbe 0x40d464
mov dword [ebp - 0x10c], 1
jmp 0x40d46e
mov dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0
je 0x40d483
mov dword [ebp - 0x110], 1
jmp 0x40d48d
mov dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0
je 0x40d4d1
mov ecx, dword [ebp - 0x114]
or ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x78]
xor edx, edx
div dword [ebp - 0x114]
cmp ecx, eax
jne 0x40d4ba
mov dword [ebp - 0x118], 1
jmp 0x40d4c4
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x118], 0
jne 0x40d63b
mov dword [ebp - 0x1f8], 0x36
mov dword [ebp - 0x1fc], 0x7d
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x204], 0xbd
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x154], 0
mov edx, dword [ebp - 0x120]
xor edx, dword [ebp - 0x124]
mov dword [ebp - 0x150], edx
mov eax, dword [0x4190cc]
add eax, dword [0x4190d4]
mov ecx, dword [ebp - 0x28]
xor ecx, dword [ebp - 0x2c]
cmp eax, ecx
jbe 0x40d55e
mov dword [ebp - 0x11c], 1
jmp 0x40d568
mov dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0
je 0x40d5c8
mov edx, dword [ebp - 0x120]
or edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x158]
and eax, dword [ebp - 0x124]
cmp edx, eax
jae 0x40d599
mov dword [ebp - 0x128], 1
jmp 0x40d5a3
mov dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0
je 0x40d5c8
mov dword [ebp - 0x208], 0xc5
mov ecx, dword [0x419118]
imul ecx, dword [ebp - 0x74]
mov dword [ebp - 0x20c], ecx
jmp 0x40d636
mov dword [ebp - 0x210], 0x56
mov dword [ebp - 0x214], 0x77
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x21c], 0xfa
mov dword [ebp - 0x220], 0x41
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x160], 0
mov edx, dword [ebp - 0x15c]
and edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
jmp 0x40d63b
jmp 0x40d411
mov eax, dword [ebp - 0x74]
xor eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
jmp 0x40d3b9
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x4c]
mov esp, ebp
pop ebp
ret