Function at 0x455a79
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x494cd8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0x8c], eax
mov eax, dword [0x49c6ec]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x18], 0xff00
mov dword [ebp - 0x14], 0xffffff
mov dword [ebp - 0x10], 0xffff
mov dword [ebp - 0xc], 0xffff00
mov dword [ebp - 8], 0xff00ff
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x5c]
push edi
push eax
mov dword [ebp - 0x84], edi
mov dword [0x49c6ec], eax
call sub.VCRUNTIME140.dll__setjmp3
pop ecx
pop ecx
test eax, eax
je 0x455b2c
cmp dword [ebp - 0x70], edi
je 0x455b10
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp - 0x60]
call fcn.00484d51
push 1
call fcn.0040d00a
mov eax, dword [ebp - 0x74]
mov dword [0x49c6ec], eax
jmp 0x455d60
push 0x258
push 0x25b
push dword [0x49e1fc]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x455b4f
push 0xffffffffffffffff
call fcn.004112ec
push esi
push dword [0x49e1fc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
mov dword [ebp - 0x70], esi
test esi, esi
jne 0x455b6c
push 0xffffffffffffffff
call fcn.004112ec
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x88], eax
test eax, eax
jne 0x455b87
push 0xffffffffffffffff
call fcn.004112ec
push 0x400
call fcn.00484fc2
mov esi, dword [ebp - 0x8c]
push dword [0x49e2f0]
mov ebx, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
lea eax, [esi + 8]
push eax
push ebx
mov dword [ebp - 0x68], eax
call dword [sym.imp.USER32.dll_FillRect]
push 0xffffff
push ebx
call fcn.00484bc1
push edi
push ebx
call dword [sym.imp.GDI32.dll_SetBkColor]
push edi
push 3
push dword [0x49e2e0]
push ebx
call fcn.00484abb
add dword [esi + 0x14], 0xfffffffc
mov eax, edi
mov edi, dword [ebp - 0x68]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x64], 0xc8
test al, 1
je 0x455bfa
push dword [0x49e2f0]
push edi
push ebx
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x455c12
push 0x29
push edi
push 0xffffffffffffffff
push 0x49e1c0
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
mov dword [ebp - 0x64], 0x2bc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
add esi, dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x455c1d
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, 6
jl 0x455bdf
push 0x29
push edi
push 0xffffffffffffffff
push 0x49e1c0
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
lea esi, [eax + 0x7d0]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jb 0x455c52
push dword [0x49e2f0]
push dword [ebp - 0x68]
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 1
call fcn.0040d00a
push dword [ebp - 0x7c]
call fcn.00455645
mov edx, dword [ebp - 0x60]
lea eax, [edx + 1]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x78]
mov esi, edx
mov al, byte [ecx]
sub al, 0x19
mov byte [edx], al
jmp 0x455c98
mov al, byte [ecx]
inc esi
sub al, 0x19
mov byte [esi], al
inc ecx
cmp al, 0xa
jne 0x455c91
cmp dword [0x49e3a0], 0
mov dword [ebp - 0x78], ecx
je 0x455cb8
push 6
mov eax, edi
xor edx, edx
pop ecx
div ecx
mov eax, dword [ebp + edx*4 - 0x1c]
jmp 0x455cbd
mov eax, 0xffffff
push eax
push ebx
call fcn.00484bc1
push 0x3c
push 0x20
push esi
call sub.VCRUNTIME140.dll_memset
lea eax, [esi + 0x3c]
add esp, 0xc
mov esi, dword [ebp - 0x6c]
mov dword [ebp - 0x90], eax
cmp esi, eax
jae 0x455d34
mov eax, esi
sub eax, dword [ebp - 0x60]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x2a
push dword [ebp - 0x68]
add eax, 0x7d
push edi
push dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
push ebx
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [ebp - 0x7c]
call fcn.00455645
test eax, eax
jne 0x455d2e
mov ebx, dword [ebp - 0x64]
add esi, 2
add edi, 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x455d19
mov ebx, dword [ebp - 0x80]
cmp esi, dword [ebp - 0x90]
jb 0x455ce8
mov edi, dword [ebp - 0x84]
push dword [0x49e2f0]
push dword [ebp - 0x68]
push ebx
call dword [sym.imp.USER32.dll_FillRect]
mov edx, dword [ebp - 0x60]
inc edi
push 6
pop eax
mov dword [ebp - 0x84], edi
cmp edi, eax
jl 0x455c84
push 0xffffffffffffffff
call fcn.004112ec
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00490511
mov esp, ebp
pop ebp
ret 0xc