Function at 0x404d00
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43265b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x43a4a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov dword [ebp - 4], 0
xor edi, edi
sub eax, eax
sub esi, esi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], esi
mov byte [ebp - 4], 1
sub ecx, ecx
mov dword [ebp - 0x8c], ecx
cmp ecx, dword [ebp + 0xc]
jge 0x404e87
mov edx, dword [ebp - 0x94]
mov bl, byte [edx + ecx]
xor bl, 0xcc
lea ecx, [ebp - 0x85]
mov byte [ebp - 0x85], bl
cmp ecx, eax
jae 0x404e17
mov edx, ecx
cmp edi, edx
ja 0x404e17
push ecx
pop ebx
sub ebx, edi
cmp eax, esi
jne 0x404dfb
mov ecx, eax
sub ecx, edi
cmp ecx, 0xfffffffe
jbe 0x404dbb
push 0x436638
call fcn.0041eb61
mov edx, esi
inc ecx
sub edx, edi
cmp ecx, edx
jbe 0x404dfb
push edx
pop eax
shr edx, 1
or esi, 0xffffffff
sub esi, edx
cmp esi, eax
jae 0x404dd5
xor eax, eax
jmp 0x404dd7
add eax, edx
cmp eax, ecx
jae 0x404ddd
mov eax, ecx
push eax
lea esi, [ebp - 0xac]
call fcn.00405150
mov esi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
test eax, eax
je 0x404e74
mov cl, byte [edi + ebx]
mov byte [eax], cl
mov ecx, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0xa8], eax
inc ecx
jmp 0x404d6f
cmp eax, esi
jne 0x404e6e
push eax
pop ecx
sub ecx, edi
cmp ecx, 0xfffffffe
jbe 0x404e2e
push 0x436638
call fcn.0041eb61
push esi
pop edx
inc ecx
sub edx, edi
cmp ecx, edx
jbe 0x404e6e
mov eax, edx
shr edx, 1
or esi, 0xffffffff
sub esi, edx
cmp esi, eax
jae 0x404e48
sub eax, eax
jmp 0x404e4a
add eax, edx
cmp eax, ecx
jae 0x404e50
mov eax, ecx
push eax
lea esi, [ebp - 0xac]
call fcn.00405150
mov esi, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xac]
test eax, eax
je 0x404e74
mov byte [eax], bl
mov ecx, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0xa8], eax
inc ecx
jmp 0x404d6f
push 0x6c
lea edx, [ebp - 0x80]
push 0
push edx
mov dword [ebp - 0x84], 0
call fcn.00421da0
xor ebx, ebx
pushal
popal
push 1
pop eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
add esp, 0xc
push edi
pop eax
lea esi, [ebp - 0x84]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
call fcn.00406ca0
cmp eax, ebx
jne 0x405016
mov eax, dword [edi + 9]
mov esi, dword [edi + 5]
mov dword [ebp - 0x98], esi
mov dword [ebp - 0x94], eax
cmp eax, ebx
jl 0x404fec
jg 0x404ef6
cmp esi, ebx
jbe 0x404fec
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx + 4]
mov byte [ebp - 0x85], bl
mov ebx, dword [ecx]
cmp ebx, eax
je 0x404f2d
push eax
pop esi
sub esi, eax
push esi
push eax
push ebx
call fcn.00420440
add esp, 0xc
add esi, ebx
mov ebx, dword [ebp - 0x90]
mov dword [ebx + 4], esi
mov esi, dword [ebp - 0x98]
jmp 0x404f2f
push ecx
pop ebx
mov eax, dword [ebx]
lea ecx, [ebp - 0x85]
push ecx
push eax
push ebx
push esi
pop eax
call fcn.004051f0
mov ecx, dword [ebx]
or ecx, ecx
je 0x404fea
mov eax, dword [ebx + 4]
sub eax, ecx
xor edx, edx
cmp eax, esi
jne 0x404fea
cmp edx, dword [ebp - 0x94]
jne 0x404fea
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
add edx, 0xfffffff3
mov dword [ebp - 0x94], edx
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x94]
push edx
lea eax, [edi + 0xd]
push eax
lea edx, [ebp - 0x90]
push edx
push ecx
lea eax, [ebp - 0x84]
mov dword [ebp - 0x8c], 0
call fcn.004068c0
add esp, 0x14
or eax, eax
jne 0x404fc3
pushfd
xor eax, eax
inc eax
popfd
cmp dword [ebp - 0x8c], eax
jne 0x404fc3
mov dword [ebp - 0x9c], eax
jmp 0x404fea
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x94], ecx
cmp ecx, eax
je 0x404fea
push eax
pop esi
sub esi, eax
push esi
push eax
push ecx
call fcn.00420440
add esp, 0xc
add esi, dword [ebp - 0x94]
mov dword [ebx + 4], esi
xor ebx, ebx
mov ecx, dword [ebp - 0x74]
push ecx
push 0x467798
call dword [0x46779c]
mov edx, dword [ebp - 0x70]
add esp, 8
push edx
push 0x467798
mov dword [ebp - 0x74], ebx
call dword [0x46779c]
add esp, 8
mov dword [ebp - 0x70], ebx
cmp edi, ebx
je 0x405023
push edi
call fcn.0041fd5b
add esp, 4
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fd66
mov esp, ebp
pop ebp
ret