Function at 0x421a90
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 0x421aba
push str.________bucket_sorting_..._n
call fcn.0043e00a
add eax, 0x40
push eax
call fcn.0043e526
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 0x421afd
jmp 0x421ae0
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 0x421ae0
mov ecx, 0x100
lea esi, [ebp - 0x414]
lea edi, [ebp - 0x814]
rep movsd dword es:[edi], dword [esi]
mov ecx, 1
jmp 0x421b20
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 0x421b20
xor edx, edx
test eax, eax
jle 0x421b92
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 0x421b70
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
add eax, 2
test eax, eax
jle 0x421baa
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 0x421bb0
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 0x421c32
mov eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 4
jl 0x421c8f
push eax
push str.________depth__6d_has
call fcn.0043e00a
add eax, 0x40
push eax
call fcn.0043e526
add esp, 0xc
xor edx, edx
xor eax, eax
test edi, edi
jle 0x421cd2
jmp 0x421ca0
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 0x421cb8
mov edx, eax
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + eax*4]
sub ecx, dword [ebp - 4]
jns 0x421cc5
add ecx, edi
mov esi, dword [ebp + 0xc]
add eax, 1
cmp eax, edi
mov dword [esi + ecx*4], edx
jl 0x421ca0
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 0x421d1d
lea esp, [esp]
test ecx, ecx
je 0x421d1d
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 0x421d00
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 0x421d7d
cmp edx, 0xffffffff
jne 0x421d4e
lea ebx, [ebx]
add eax, 0x20
mov edx, eax
sar edx, 5
cmp dword [ebx + edx*4], 0xffffffff
je 0x421d40
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 0x421d7d
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 0x421d64
mov edi, dword [ebp + 0x10]
lea ecx, [eax - 1]
cmp ecx, edi
mov dword [ebp - 0xc], ecx
jge 0x421e97
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 0x421dc1
test ecx, ecx
je 0x421dc1
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 0x421da4
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 0x421e1d
test edx, edx
jne 0x421dee
lea ecx, [ecx]
add eax, 0x20
mov edx, eax
sar edx, 5
cmp dword [ebx + edx*4], 0
je 0x421de0
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 0x421e1d
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 0x421e04
lea esi, [eax - 1]
cmp esi, edi
mov dword [ebp - 0x10], esi
jge 0x421e97
mov eax, dword [ebp - 0xc]
cmp esi, eax
jle 0x421ce0
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.00421800
mov eax, dword [ebp - 0xc]
add esp, 4
or ecx, 0xffffffff
cmp eax, esi
jg 0x421ce0
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 0x421e8b
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 0x421e60
jmp 0x421ce0
mov esi, dword [ebp + 0x14]
cmp esi, 4
jl 0x421eb9
mov edx, dword [ebp - 8]
push edx
push str._6d_unresolved_strings_n
call fcn.0043e00a
add eax, 0x40
push eax
call fcn.0043e526
add esp, 0xc
mov eax, dword [ebp - 4]
add eax, eax
cmp eax, edi
mov dword [ebp - 4], eax
jg 0x421ecf
cmp dword [ebp - 8], 0
jne 0x421c72
cmp esi, 4
jl 0x421eea
push str.________reconstructing_block_..._n
call fcn.0043e00a
add eax, 0x40
push eax
call fcn.0043e526
add esp, 8
xor eax, eax
xor edx, edx
test edi, edi
jle 0x421f40
lea ecx, [ebp - 0x814]
cmp dword [ecx], 0
jne 0x421f0d
lea ecx, [ecx]
add eax, 1
cmp dword [ebp + eax*4 - 0x814], 0
je 0x421f00
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 0x421ef8
cmp eax, 0x100
jl 0x421f40
mov esi, 0x3ed
jmp 0x41b4b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret