Function at 0x411b40
Capabilities:
Packed with generic packer
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4371e8
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x50
movsx eax, word [eax + 0xc]
add eax, 0xfffffc18
push esi
cmp eax, 0x18
push edi
ja case.default.0x411b7c
mov esi, dword [esp + 0x70]
jmp dword [eax*4 + 0x411ccc]
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
pop edi
pop esi
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov edx, dword [esp + 0x70]
xor ecx, ecx
pop edi
pop esi
mov eax, dword [edx]
cmp eax, 1
mov eax, dword [esp + 0x6c]
sete cl
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
push edx
jmp 0x411cab
mov edx, dword [esp + 0x70]
mov eax, dword [edx]
push eax
jmp 0x411cab
cmp dword [esi + 4], 4
jb case.0x411a24.1009
lea ecx, [esp + 8]
call fcn.004038a0
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0
call fcn.00403fd0
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
neg esi
sbb esi, esi
and esi, edi
mov ecx, dword [esi]
push ecx
call fcn.00414800
mov dword [esi], eax
mov edx, dword [esp + 0x1c]
push edx
push esi
call fcn.0040cd70
mov ecx, dword [esp + 0x80]
add esp, 0xc
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 8], 0x439910
mov dword [ecx], eax
lea ecx, [esp + 8]
call fcn.00403aa0
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
call fcn.0040cd70
add esp, 8
jmp 0x411cb3
mov eax, dword [esp + 0x70]
mov edi, dword [eax]
test edi, edi
je 0x411b54
cmp dword [eax + 4], 0x3c
je 0x411b6e
lea edx, [esp + 0x1c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea edi, [esp + 0x1c]
mov eax, dword [esp + 0x6c]
inc eax
cmp eax, 7
ja case.default.0x411b7c
jmp dword [eax*4 + 0x411d30]
push 0x1c
call fcn.00413540
mov ecx, dword [esp + 0x78]
mov esi, eax
xor eax, eax
push edi
mov dword [ecx], esi
mov edx, dword [edi + 0xc]
mov dword [esi], edx
mov ecx, dword [edi + 0x10]
add esi, 4
cmp ecx, 0x2bc
setge al
mov dword [esi], eax
mov dl, byte [edi + 0x14]
add esi, 4
xor ecx, ecx
test dl, dl
setne cl
mov dword [esi], ecx
mov al, byte [edi + 0x16]
add esi, 4
xor edx, edx
test al, al
setne dl
mov dword [esi], edx
mov cl, byte [edi + 0x15]
add esi, 4
xor eax, eax
test cl, cl
setne al
mov dword [esi], eax
add esi, 4
call fcn.004142c0
add edi, 0x1c
mov dword [esi], eax
push edi
call fcn.0040cce0
add esp, 0xc
mov dword [esi + 4], eax
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov edx, dword [esp + 0x74]
mov ecx, dword [edi + 0xc]
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, 0x2bc
setge al
jmp 0x411cb3
mov al, byte [edi + 0x14]
xor edx, edx
test al, al
mov eax, dword [esp + 0x74]
pop edi
setne dl
mov dword [eax], edx
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov al, byte [edi + 0x16]
mov edx, dword [esp + 0x74]
xor ecx, ecx
pop edi
test al, al
setne cl
mov dword [edx], ecx
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
mov cl, byte [edi + 0x15]
xor eax, eax
test cl, cl
setne al
jmp 0x411cb3
push edi
call fcn.004142c0
mov edx, dword [esp + 0x78]
add esp, 4
pop edi
mov dword [edx], eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10
add edi, 0x1c
push edi
call fcn.0040cce0
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov ecx, dword [esp + 0x58]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x10