Function at 0x41a690
Capabilities:
Packed with generic packer

Disassembly:
push 0xffffffffffffffff
push 0x44fea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov ecx, dword [esp + 0x50]
push ebx
push ebp
push esi
push edi
call fcn.0043f9ba
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x24]
xor esi, esi
push edx
mov ecx, dword [eax]
push eax
mov dword [esp + 0x2c], esi
call dword [ecx + 0x20]
test eax, eax
jl 0x41a965
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jl 0x41a95b
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, esi
jle 0x41a95b
mov ebp, dword [0x45235c]
mov word [esp + 0x3c], 0x17
lea edx, [esp + 0x1c]
xor eax, eax
push edx
mov word [esp + 0x30], si
sub esp, 0x10
mov dword [esp + 0x42], eax
mov ebx, dword [esp + 0x40]
mov edx, esp
mov dword [esp + 0x46], eax
sub esp, 0x10
mov dword [edx], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x5a], eax
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x58]
mov word [esp + 0x5e], ax
mov eax, dword [esp + 0x48]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x60]
mov edx, esp
push eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x68]
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [edx + 8], edi
mov dword [edx + 0xc], ebx
call dword [ecx + 0x2c]
test eax, eax
jl 0x41a88a
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], esi
push edx
mov ecx, dword [eax]
push 0x45c6e0
push eax
call dword [ecx]
cmp eax, esi
jl 0x41a880
mov eax, dword [0x46a790]
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x5c]
mov bl, 1
push edx
mov ecx, dword [eax]
push eax
mov byte [esp + 0x5c], bl
call dword [ecx + 0x38]
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x41a7d1
push eax
lea ecx, [esp + 0x24]
call fcn.0043fbdf
mov eax, dword [esp + 0x5c]
push eax
call ebp
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x20]
push 0x46a06c
push ecx
call fcn.0042d35e
add esp, 8
test eax, eax
jne 0x41a85e
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
push ecx
mov edx, dword [eax]
push 0x45c6d0
push eax
call dword [edx]
cmp eax, esi
jl 0x41a85e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x41a854
push eax
lea ecx, [esp + 0x14]
call fcn.0043faef
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x54], 2
push edx
call ebp
mov eax, dword [esp + 0x10]
push 0x46a05c
push eax
mov dword [esp + 0x64], esi
call dword [0x4521ec]
test eax, eax
je 0x41a89c
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], bl
call fcn.0043fa2f
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x5c]
push eax
call ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0xffffffff
call fcn.0043fa2f
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
inc edi
cmp edi, eax
jl 0x41a704
jmp 0x41a95b
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [esp + 0x5c]
cmp eax, esi
je 0x41a918
push eax
dec ebp
pop edx
nop
add byte [ebx], al
add byte [eax], al
add byte [eax + eax], al
add byte [eax], al
invalid
and byte [edx + 0x75], dh
outsb dx, byte [esi]
and byte [ecx + 0x6e], ch
and byte [edi + ecx*2 + 0x53], al
and byte [ebp + 0x6f], ch
or eax, 0x240a0d
add byte [eax], al
add byte [eax], al
add byte [eax], al
mov dl, 0x77
pop ebp
or esi, esi
push ss
xor ebx, dword [edx - 0xa]
push ss
xor ebx, dword [edx - 0xa]
push ss
xor ebx, dword [edx - 0x58]
xor al, 0x38
pop edx
cmc
push ss
xor ebx, dword [edx - 0x73]
or bh, byte [edi]
pop edx
cmc
push ss
xor ebx, dword [edx - 0x60]
or dword [eax], esp
pop edx
fcom qword [esi]
xor ebx, dword [edx + 0x75]
or bh, byte [0x3316e85a]
pop edx
jne 0x41a968
cmp eax, 0x3316e85a
pop edx
sal byte [eax], 0x39
xor byte [ecx], bh
pop edx
aaa
push ss
xor ebx, dword [edx + 0xa]
and dword ss:[edx - 0xc], ebx
push ss
xor ebx, dword [edx - 0xa]
push ss
xor ebx, dword [edx - 0x5f]
push ss
xor ebx, dword [edx - 0xa]
push ss
xor bl, byte [edx + 5]
add eax, 0x945a3317