Function at 0x10004870
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031153
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1003a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1003a5f8]
or edx, 0xffffffff
mov dword [ebp - 0x14], edi
mov esi, 0x10032359
mov dword [ebp - 0x34], 0
mov al, 0x57
mov dword [ebp - 0x20], 0
or edi, 0xffffffff
mov dword [ebp - 0x40], str.Window
cmp al, 0x23
jne 0x100048d3
cmp byte [esi], al
jne 0x100048d3
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100330e8]
test al, al
jne 0x100048c5
not edx
mov dword [ebp - 0x38], 0x10016ec0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], 0x10016f40
mov dword [ebp - 0x2c], 0x10016fe0
mov dword [ebp - 0x28], 0x100170b0
mov dword [ebp - 0x24], 0x100171c0
call fcn.100169f0
mov edi, dword [ebp - 0x14]
or edx, 0xffffffff
mov dword [ebp - 0x34], 0
mov esi, 0x100374bd
mov dword [ebp - 0x20], 0
mov al, 0x54
mov dword [ebp - 0x40], str.Table
nop
cmp al, 0x23
jne 0x10004953
cmp byte [esi], al
jne 0x10004953
cmp byte [esi + 1], al
mov ecx, 0xffffffff
cmove edx, ecx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x100330e8]
test al, al
jne 0x10004940
not edx
mov dword [ebp - 0x38], 0x1002a410
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x30], 0x1002a4f0
mov dword [ebp - 0x2c], 0x1002a5a0
mov dword [ebp - 0x28], 0x1002a4a0
mov dword [ebp - 0x24], 0x1002a7e0
call fcn.100169f0
mov ecx, dword [0x1003a5f8]
mov eax, dword [str.Size_column_to_fitSizeOne]
mov dword [ecx + 0x5a34], eax
mov eax, dword [str.Size_all_columns_to_fitSizeAll]
mov dword [ecx + 0x5a38], eax
mov eax, dword [str.Size_all_columns_to_defaultSizeAll]
mov dword [ecx + 0x5a3c], eax
mov eax, dword [str.Reset_orderResetOrder]
mov dword [ecx + 0x5a40], eax
mov eax, dword [str._Main_menu_bar_]
mov dword [ecx + 0x5a44], eax
mov eax, dword [str._Popup_]
mov dword [ecx + 0x5a48], eax
mov eax, dword [str._Untitled_]
mov dword [ecx + 0x5a4c], eax
test ecx, ecx
je 0x100049f9
inc dword [ecx + 0xb0]
push 0x9c
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x10004b0e
mov dword [esi + 8], 0
lea eax, [esi + 0x38]
mov dword [esi + 0x10], 0
xorps xmm0, xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
movups xmmword [esi], xmm0
push 0x2c
movups xmmword [esi + 0x10], xmm0
push 0
movq qword [esi + 0x20], xmm0
push eax
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x64]
mov dword [ebp - 0x48], eax
push 0x10017d50
push 0x10018600
push 2
push 0xc
push eax
call fcn.1002fdde
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
jmp 0x10004b10
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi + 0x47a0]
mov ecx, dword [edi + 0x479c]
cmp ecx, eax
jne 0x10004bcc
inc ecx
test eax, eax
je 0x10004b3f
cdq
sub eax, edx
mov edx, dword [edi + 0x47a0]
sar eax, 1
add eax, edx
jmp 0x10004b4a
mov edx, dword [edi + 0x47a0]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jle 0x10004bcc
mov eax, dword [0x1003a5f8]
test eax, eax
je 0x10004b65
inc dword [eax + 0xb0]
lea eax, [ecx*4]
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edx, dword [edi + 0x47a4]
add esp, 4
mov dword [ebp - 0x14], eax
test edx, edx
je 0x10004bbd
mov ecx, dword [edi + 0x479c]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi + 0x47a4]
add esp, 0xc
test ecx, ecx
je 0x10004bb0
mov eax, dword [0x1003a5f8]
test eax, eax
je 0x10004bb0
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [ebp - 0x14]
add esp, 4
mov dword [edi + 0x47a4], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x47a0], eax
mov ecx, dword [edi + 0x479c]
mov eax, dword [edi + 0x47a4]
mov dword [eax + ecx*4], esi
lea esi, [edi + 0x5be4]
inc dword [edi + 0x479c]
mov eax, dword [esi + 4]
cmp eax, 0xc01
jge 0x10004c18
test eax, eax
je 0x10004c01
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [esi + 4]
jmp 0x10004c06
mov ecx, 8
mov eax, 0xc01
cmp ecx, eax
cmovg eax, ecx
mov ecx, esi
push eax
call fcn.10018900
mov ecx, dword [esi]
cmp ecx, 0xc01
jge 0x10004c32
mov eax, dword [esi + 8]
mov byte [ecx + eax], 0
inc ecx
cmp ecx, 0xc01
jl 0x10004c22
mov dword [esi], 0xc01
mov byte [edi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002fb8b
mov esp, ebp
pop ebp
ret