Function at 0x421f60
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 0x421f8a
push str.________bucket_sorting_..._n
call fcn.0043e4cf
add eax, 0x40
push eax
call fcn.0043e322
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 0x421fcd
jmp 0x421fb0
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 0x421fb0
mov ecx, 0x100
lea esi, [ebp - 0x414]
lea edi, [ebp - 0x814]
rep movsd dword es:[edi], dword [esi]
mov ecx, 1
jmp 0x421ff0
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 0x421ff0
xor edx, edx
test eax, eax
jle 0x422062
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 0x422040
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, 2
test eax, eax
jle 0x42207a
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 0x422080
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 0x422102
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jl 0x42215f
push eax
push str.________depth__6d_has
call fcn.0043e4cf
add eax, 0x40
push eax
call fcn.0043e322
add esp, 0xc
xor edx, edx
xor eax, eax
test edi, edi
jle 0x4221a2
jmp 0x422170
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 0x422188
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
sub ecx, dword [ebp - 4]
jns 0x422195
add ecx, edi
mov esi, dword [ebp + 0xc]
add eax, 1
cmp eax, edi
mov dword [esi + ecx*4], edx
jl 0x422170
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 0x4221ed
lea esp, [esp]
test ecx, ecx
je 0x4221ed
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 0x4221d0
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 0x42224d
cmp edx, 0xffffffff
jne 0x42221e
lea ebx, [ebx]
add eax, 0x20
mov edx, eax
sar edx, 5
cmp dword [ebx + edx*4], 0xffffffff
je 0x422210
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 0x42224d
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 0x422234
mov edi, dword [ebp + 0x10]
lea ecx, [eax - 1]
cmp ecx, edi
mov dword [ebp - 0xc], ecx
jge 0x422367
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 0x422291
test ecx, ecx
je 0x422291
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 0x422274
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 0x4222ed
test edx, edx
jne 0x4222be
lea ecx, [ecx]
add eax, 0x20
mov edx, eax
sar edx, 5
cmp dword [ebx + edx*4], 0
je 0x4222b0
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 0x4222ed
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 0x4222d4
lea esi, [eax - 1]
cmp esi, edi
mov dword [ebp - 0x10], esi
jge 0x422367
mov eax, dword [ebp - 0xc]
cmp esi, eax
jle 0x4221b0
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.00421cd0
mov eax, dword [ebp - 0xc]
add esp, 4
or ecx, 0xffffffff
cmp eax, esi
jg 0x4221b0
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 0x42235b
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 0x422330
jmp 0x4221b0
mov esi, dword [ebp + 0x14]
cmp esi, 4
jl 0x422389
mov edx, dword [ebp - 8]
push edx
push str._6d_unresolved_strings_n
call fcn.0043e4cf
add eax, 0x40
push eax
call fcn.0043e322
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, eax
cmp eax, edi
mov dword [ebp - 4], eax
jg 0x42239f
cmp dword [ebp - 8], 0
jne 0x422142
cmp esi, 4
jl 0x4223ba
push str.________reconstructing_block_..._n
call fcn.0043e4cf
add eax, 0x40
push eax
call fcn.0043e322
add esp, 8
xor eax, eax
xor edx, edx
test edi, edi
jle 0x422410
lea ecx, [ebp - 0x814]
cmp dword [ecx], 0
jne 0x4223dd
lea ecx, [ecx]
add eax, 1
cmp dword [ebp + eax*4 - 0x814], 0
je 0x4223d0
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 0x4223c8
cmp eax, 0x100
jl 0x422410
mov esi, 0x3ed
jmp 0x41b430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret