Function at 0x4024d0
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407437
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x340
mov eax, dword [0x40b040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x120]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x402910
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x124], 0
movups xmmword [ebp - 0x138], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402554
sub ecx, edx
lea eax, [ebp - 0x120]
push ecx
push eax
lea ecx, [ebp - 0x138]
call fcn.004058c0
mov dword [ebp - 4], 0
lea esi, [ebp - 0x138]
cmp dword [ebp - 0x124], 0xf
mov edi, dword [ebp - 0x128]
cmova esi, dword [ebp - 0x138]
test edi, edi
je 0x4025f7
push 0x100
lea eax, [ebp - 0x348]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, 0x40887c
movzx eax, byte [ecx]
inc ecx
mov byte [ebp + eax - 0x348], 1
cmp ecx, 0x40887e
jne 0x4025b0
or ecx, 0xffffffff
lea eax, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + esi]
add ecx, esi
cmp byte [ebp + eax - 0x348], 0
jne 0x4025f3
nop
cmp ecx, esi
je 0x4025f7
movzx eax, byte [ecx - 1]
dec ecx
cmp byte [ebp + eax - 0x348], 0
je 0x4025e0
sub ecx, esi
jmp 0x4025fa
or ecx, 0xffffffff
inc ecx
mov dword [ebp - 0x170], 0
cmp edi, ecx
mov dword [ebp - 0x16c], 0
lea eax, [ebp - 0x138]
xorps xmm0, xmm0
cmovb ecx, edi
cmp dword [ebp - 0x124], 0xf
push ecx
cmova eax, dword [ebp - 0x138]
lea ecx, [ebp - 0x180]
push eax
movups xmmword [ebp - 0x180], xmm0
call fcn.004058c0
mov esi, 0x7fffffff
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x170]
mov eax, esi
sub eax, ecx
cmp eax, 0xa
jb 0x402918
cmp dword [ebp - 0x16c], 0xf
lea eax, [ebp - 0x180]
push 0xa
cmova eax, dword [ebp - 0x180]
push str.Dataitem_
push ecx
push eax
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x150]
call fcn.00405f10
lea ecx, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.004022b0
test al, al
je 0x402910
push 0xd
xorps xmm0, xmm0
mov dword [ebp - 0x158], 0
push str.DEVELOPER.bmd
lea ecx, [ebp - 0x168]
mov dword [ebp - 0x154], 0
movups xmmword [ebp - 0x168], xmm0
call fcn.004058c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x140]
sub esi, edx
mov edi, dword [ebp - 0x158]
cmp esi, edi
jb 0x40291d
cmp dword [ebp - 0x13c], 0xf
lea ecx, [ebp - 0x150]
push edi
cmova ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x168]
cmp dword [ebp - 0x154], 0xf
cmova eax, dword [ebp - 0x168]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x34c]
lea ecx, [ebp - 0x198]
call fcn.00405f10
push 0xb0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 4
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 4
lea eax, [ebp - 0x198]
lea ecx, [ebp - 0x248]
push 0x12
push eax
call fcn.00404e40
mov byte [ebp - 4], 5
cmp dword [ebp - 0x1f8], 0
je 0x402910
lea ecx, [ebp - 0x244]
call fcn.004052c0
test eax, eax
jne 0x40278f
push eax
mov eax, dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x248]
call fcn.00402930
mov ecx, dword [ebp - 0x184]
cmp ecx, 0xf
jbe 0x4027d4
mov edx, dword [ebp - 0x198]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4027ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028e0
push ecx
push edx
call fcn.0040638a
add esp, 8
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
cmp ecx, 0xf
jbe 0x402829
mov edx, dword [ebp - 0x168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40281f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028e0
push ecx
push edx
call fcn.0040638a
add esp, 8
mov ecx, dword [ebp - 0x13c]
cmp ecx, 0xf
jbe 0x402863
mov edx, dword [ebp - 0x150]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402859
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028e0
push ecx
push edx
call fcn.0040638a
add esp, 8
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
cmp ecx, 0xf
jbe 0x4028b4
mov edx, dword [ebp - 0x180]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4028aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4028e0
push ecx
push edx
call fcn.0040638a
add esp, 8
mov ecx, dword [ebp - 0x124]
cmp ecx, 0xf
jbe 0x4028f0
mov edx, dword [ebp - 0x138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4028e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4028e6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040638a
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00406237
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.00401170
call fcn.00401170
int3