Function at 0x4248e0
Capabilities:
Encode data using xor
Extract resource via kernel32 functions
Hash data with crc32

Disassembly:
push ebp
push edi
mov edi, edx
push esi
push ebx
mov ebx, ecx
sub esp, 0x2c
cmp byte [0x44b7a4], 0
mov dword [esp + 0x1c], eax
je 0x424968
mov dword [esp + 4], 0x44007e
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x424a80
mov ebp, dword [0x44b7a0]
jmp 0x424924
lea ebp, [eax + edx + 4]
mov dword [esp + 4], ebp
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
mov dword [esp], ebp
mov esi, eax
call sub.msvcrt.dll_strlen
lea eax, [ebp + eax + 1]
mov edx, dword [eax]
test esi, esi
jne 0x424920
lea ecx, [eax + 6]
movzx eax, word [eax + 4]
mov edx, edi
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
call fcn.00422ea0
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xa
mov dword [esp + 4], 3
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
sub esp, 0xc
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
mov esi, dword [eax]
mov eax, dword [eax + 4]
sub esp, 4
lea edx, [ecx + 8]
mov dword [0x44b7a0], edx
test eax, eax
je 0x424a66
lea ecx, [ecx + eax + 8]
mov eax, 0xffffffff
lea esi, [esi]
movzx ebp, byte [edx]
xor eax, ebp
mov ebp, eax
and eax, 1
neg eax
shr ebp, 1
and eax, 0xedb88320
xor ebp, eax
mov eax, ebp
and ebp, 1
neg ebp
shr eax, 1
and ebp, 0xedb88320
xor eax, ebp
mov ebp, eax
and eax, 1
neg eax
shr ebp, 1
and eax, 0xedb88320
xor ebp, eax
mov eax, ebp
and ebp, 1
neg ebp
shr eax, 1
and ebp, 0xedb88320
xor eax, ebp
mov ebp, eax
and eax, 1
neg eax
shr ebp, 1
and eax, 0xedb88320
xor ebp, eax
mov eax, ebp
and ebp, 1
neg ebp
shr eax, 1
and ebp, 0xedb88320
xor eax, ebp
mov ebp, eax
shr ebp, 1
and eax, 1
add edx, 1
neg eax
and eax, 0xedb88320
xor ebp, eax
mov eax, ebp
and ebp, 1
neg ebp
shr eax, 1
and ebp, 0xedb88320
xor eax, ebp
cmp ecx, edx
jne 0x4249d0
not eax
cmp esi, eax
jne 0x424b03
mov byte [0x44b7a4], 1
jmp 0x4248f8
cmp byte [0x44b79c], 0
jne 0x424910
mov ebp, dword [sym.imp.python38.dll_PyDict_New]
mov esi, 0xfffffffb
call ebp
mov dword [0x44bbfc], eax
call ebp
mov dword [0x44bbf8], eax
call ebp
mov dword [0x44bbf4], eax
call ebp
mov dword [0x44bc14], eax
call ebp
mov dword [0x44bc10], eax
call ebp
mov dword [0x44bc0c], eax
call ebp
mov dword [0x44bc04], eax
call ebp
mov ebp, dword [sym.imp.python38.dll_PyLong_FromLong]
mov dword [0x44bc00], eax
lea esi, [esi]
lea esi, [esi]
mov dword [esp], esi
call ebp
mov dword [esi*4 + 0x44b7d4], eax
add esi, 1
cmp esi, 0x101
jne 0x424ae0
mov byte [0x44b79c], 1
jmp 0x424910
mov dword [esp], str.Error__corrupted_constants_object
call sub.msvcrt.dll_puts
call sub.msvcrt.dll_abort
lea esi, [esi]
lea esi, [esi]
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], 0x43c740
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 8], str.O:iter_modules
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyArg_ParseTupleAndKeywords]
test eax, eax
je 0x424d60
mov dword [esp], 0
mov ebp, 0x43f6f2
call dword [sym.imp.python38.dll_PyList_New]
mov ebx, dword [0x44b060]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
test eax, eax
je 0x424b88
mov ebp, dword [eax]
lea esi, [esi]
mov edi, dword [ebx]
test edi, edi
je 0x424cfc
mov eax, dword [ebx + 0x10]
test al, 0x10
je 0x424b9f
sub eax, 0x10
mov dword [ebx + 0x10], eax
mov dword [esp], ebp
add ebx, 0x18
call sub.msvcrt.dll_strlen
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov esi, eax
mov dword [esp], ebp
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x424b88
mov dword [esp + 4], str.__main__
mov dword [esp], edi
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x424b88
cmp byte [edi + esi], 0
je 0x424b88
lea esi, [edi + esi + 1]
mov dword [esp + 4], 0x2e
mov dword [esp], esi
call sub.msvcrt.dll_strchr
test eax, eax
jne 0x424b88
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
test eax, eax
je 0x424d20
mov dword [esp], esi
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp eax, dword [sym.imp.python38.dll__Py_TrueStruct]
je 0x424d3b
cmp eax, dword [sym.imp.python38.dll__Py_NoneStruct]
je 0x424c5c
cmp eax, dword [sym.imp.python38.dll__Py_FalseStruct]
je 0x424c5c
call fcn.00404450
test eax, eax
je 0x424c5c
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyUnicode_Concat]
sub dword [edi], 1
mov esi, eax
jne 0x424d48
mov eax, dword [edi + 4]
mov dword [esp], edi
mov edi, esi
call dword [eax + 0x18]
mov dword [esp], 2
call dword [sym.imp.python38.dll_PyTuple_New]
test byte [ebx - 8], 2
mov dword [eax + 0xc], edi
mov esi, eax
mov eax, dword [sym.imp.python38.dll__Py_TrueStruct]
cmove eax, dword [sym.imp.python38.dll__Py_FalseStruct]
add dword [eax], 1
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
lea edi, [ecx + 1]
mov dword [esp + 0x28], ecx
cmp edi, edx
jg 0x424ca6
sar edx, 1
cmp edi, edx
jge 0x424d50
test edi, edi
je 0x424d10
mov ecx, dword [esp + 0x28]
mov edx, edi
sar edx, 3
lea edx, [ecx + edx + 7]
and edx, 0xfffffffc
lea ecx, [edx*4]
mov dword [esp + 0x2c], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.python38.dll_PyMem_Realloc]
mov edx, dword [esp + 0x2c]
test eax, eax
je 0x424d78
mov ecx, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], edi
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0x28]
mov edi, dword [ebx]
mov dword [eax + edx*4], esi
test edi, edi
jne 0x424b92
mov eax, dword [esp + 0x24]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
xor ecx, ecx
xor edx, edx
jmp 0x424cc1
mov dword [esp], edi
call dword [sym.imp.python38.dll_PyUnicode_FromString]
mov edi, eax
mov eax, dword [esp + 0x3c]
cmp eax, dword [sym.imp.python38.dll__Py_TrueStruct]
jne 0x424c1c
mov eax, dword [sym.imp.python38.dll__Py_TrueStruct]
jmp 0x424c39
mov edi, eax
jmp 0x424c5c
mov edx, dword [esp + 0x24]
mov dword [edx + 8], edi
jmp 0x424ceb
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x24]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [sym.imp.python38.dll_PyErr_NoMemory]
jmp 0x424b88