Function at 0x420880
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
cmp dword [ebp + 0x14], 4
push ebx
push esi
push edi
mov ebx, eax
jl 0x4208aa
push str.________bucket_sorting_..._n
call fcn.0043cb96
add eax, 0x40
push eax
call fcn.0043d0b2
add esp, 8
xor eax, eax
mov ecx, 0x101
lea edi, [ebp - 0x414]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
xor ecx, ecx
test eax, eax
jle 0x4208ed
jmp 0x4208d0
mov edx, dword [ebp + 0xc]
movzx edx, byte [ecx + edx]
add dword [ebp + edx*4 - 0x414], 1
lea edx, [ebp + edx*4 - 0x414]
add ecx, 1
cmp ecx, eax
jl 0x4208d0
mov ecx, 0x100
lea esi, [ebp - 0x414]
lea edi, [ebp - 0x814]
rep movsd dword es:[edi], dword [esi]
mov ecx, 1
jmp 0x420910
mov edx, dword [ebp + ecx*4 - 0x418]
add dword [ebp + ecx*4 - 0x414], edx
mov edx, dword [ebp + ecx*4 - 0x414]
add dword [ebp + ecx*4 - 0x410], edx
mov edx, dword [ebp + ecx*4 - 0x410]
add dword [ebp + ecx*4 - 0x40c], edx
mov edx, dword [ebp + ecx*4 - 0x40c]
add dword [ebp + ecx*4 - 0x408], edx
add ecx, 4
cmp ecx, 0x101
jl 0x420910
xor edx, edx
test eax, eax
jle 0x420982
lea esp, [esp]
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [edx + ecx]
lea esi, [ebp + ecx*4 - 0x414]
mov ecx, dword [esi]
sub ecx, 1
mov dword [esi], ecx
mov esi, dword [ebp + 8]
mov dword [esi + ecx*4], edx
add edx, 1
cmp edx, eax
jl 0x420960
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, 2
test eax, eax
jle 0x42099a
mov ecx, eax
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
xor eax, eax
lea esp, [esp]
mov ecx, dword [ebp + eax*4 - 0x414]
mov edx, ecx
sar edx, 5
and ecx, 0x1f
lea edx, [ebx + edx*4]
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + eax*4 - 0x410]
add eax, 4
or dword [edx], esi
mov edx, ecx
and ecx, 0x1f
sar edx, 5
lea edx, [ebx + edx*4]
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + eax*4 - 0x41c]
or dword [edx], esi
mov edx, ecx
and ecx, 0x1f
sar edx, 5
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + eax*4 - 0x418]
lea edx, [ebx + edx*4]
or dword [edx], esi
mov edx, ecx
and ecx, 0x1f
mov esi, 1
shl esi, cl
sar edx, 5
lea edx, [ebx + edx*4]
or dword [edx], esi
cmp eax, 0x100
jl 0x4209a0
mov edi, dword [ebp + 0x10]
mov eax, edi
mov dword [ebp - 4], 0x20
mov ecx, eax
sar ecx, 5
lea edx, [ebx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
lea ecx, [eax + 1]
add eax, 2
or dword [edx], esi
mov edx, ecx
and ecx, 0x1f
mov esi, 1
shl esi, cl
sar edx, 5
lea edx, [ebx + edx*4]
not esi
and dword [edx], esi
sub dword [ebp - 4], 1
jne 0x420a22
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jl 0x420a7f
push eax
push str.________depth__6d_has
call fcn.0043cb96
add eax, 0x40
push eax
call fcn.0043d0b2
add esp, 0xc
xor edx, edx
xor eax, eax
test edi, edi
jle 0x420ac2
jmp 0x420a90
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4], esi
je 0x420aa8
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
sub ecx, dword [ebp - 4]
jns 0x420ab5
add ecx, edi
mov esi, dword [ebp + 0xc]
add eax, 1
cmp eax, edi
mov dword [esi + ecx*4], edx
jl 0x420a90
mov dword [ebp - 8], 0
or esi, 0xffffffff
lea esp, [esp]
lea eax, [esi + 1]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov edx, eax
sar edx, 5
test dword [ebx + edx*4], esi
je 0x420b0d
lea esp, [esp]
test ecx, ecx
je 0x420b0d
add eax, 1
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov edx, eax
sar edx, 5
test dword [ebx + edx*4], esi
jne 0x420af0
mov ecx, eax
sar ecx, 5
mov edx, dword [ebx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
test edx, esi
je 0x420b6d
cmp edx, 0xffffffff
jne 0x420b3e
lea ebx, [ebx]
add eax, 0x20
mov edx, eax
sar edx, 5
cmp dword [ebx + edx*4], 0xffffffff
je 0x420b30
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4], edx
je 0x420b6d
add eax, 1
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4], edx
jne 0x420b54
mov edi, dword [ebp + 0x10]
lea ecx, [eax - 1]
cmp ecx, edi
mov dword [ebp - 0xc], ecx
jge 0x420c87
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov edx, eax
sar edx, 5
test dword [ebx + edx*4], esi
jne 0x420bb1
test ecx, ecx
je 0x420bb1
add eax, 1
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov edx, eax
sar edx, 5
test dword [ebx + edx*4], esi
je 0x420b94
mov ecx, eax
sar ecx, 5
mov edx, dword [ebx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
test edx, esi
jne 0x420c0d
test edx, edx
jne 0x420bde
lea ecx, [ecx]
add eax, 0x20
mov edx, eax
sar edx, 5
cmp dword [ebx + edx*4], 0
je 0x420bd0
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4], edx
jne 0x420c0d
add eax, 1
mov ecx, eax
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov ecx, eax
sar ecx, 5
test dword [ebx + ecx*4], edx
je 0x420bf4
lea esi, [eax - 1]
cmp esi, edi
mov dword [ebp - 0x10], esi
jge 0x420c87
mov eax, dword [ebp - 0xc]
cmp esi, eax
jle 0x420ad0
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov edx, esi
sub edx, eax
lea edx, [ecx + edx + 1]
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, esi
mov dword [ebp - 8], edx
call fcn.004205f0
mov eax, dword [ebp - 0xc]
add esp, 4
or ecx, 0xffffffff
cmp eax, esi
jg 0x420ad0
nop
mov edx, dword [ebp + 8]
mov edx, dword [edx + eax*4]
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + edx*4]
cmp ecx, edi
je 0x420c7b
mov ecx, eax
sar ecx, 5
lea edx, [ebx + ecx*4]
mov ecx, eax
and ecx, 0x1f
mov esi, 1
shl esi, cl
mov ecx, edi
or dword [edx], esi
mov esi, dword [ebp - 0x10]
add eax, 1
cmp eax, esi
jle 0x420c50
jmp 0x420ad0
mov esi, dword [ebp + 0x14]
cmp esi, 4
jl 0x420ca9
mov edx, dword [ebp - 8]
push edx
push str._6d_unresolved_strings_n
call fcn.0043cb96
add eax, 0x40
push eax
call fcn.0043d0b2
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, eax
cmp eax, edi
mov dword [ebp - 4], eax
jg 0x420cbf
cmp dword [ebp - 8], 0
jne 0x420a62
cmp esi, 4
jl 0x420cda
push str.________reconstructing_block_..._n
call fcn.0043cb96
add eax, 0x40
push eax
call fcn.0043d0b2
add esp, 8
xor eax, eax
xor edx, edx
test edi, edi
jle 0x420d30
lea ecx, [ebp - 0x814]
cmp dword [ecx], 0
jne 0x420cfd
lea ecx, [ecx]
add eax, 1
cmp dword [ebp + eax*4 - 0x814], 0
je 0x420cf0
mov esi, dword [ebp + 8]
mov esi, dword [esi + edx*4]
add dword [ebp + eax*4 - 0x814], 0xffffffff
mov ebx, dword [ebp + 0xc]
lea ecx, [ebp + eax*4 - 0x814]
add edx, 1
cmp edx, edi
mov byte [ebx + esi], al
jl 0x420ce8
cmp eax, 0x100
jl 0x420d30
mov esi, 0x3ed
jmp 0x41a290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret