Function at 0x41b050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551ab5
mov eax, dword fs:[0]
push eax
sub esp, 0x98c
mov eax, dword [0x5a8f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x990], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - method.CStringUtil.virtual_0], vtable.CStringUtil.0
lea ecx, [ebp + 0x28]
push ecx
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 3
call fcn.0041db20
mov byte [ebp - 4], 4
call fcn.00431617
cmp dword [ebp - 0xa4], 8
mov esi, dword [eax + 8]
mov eax, dword [ebp - 0xb8]
jae 0x41b0d7
lea eax, [ebp - 0xb8]
movzx edx, word [ebp + 0x44]
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x41b26c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x98c], eax
cmp eax, ebx
je 0x41b26c
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x41b26c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebp - 0x98c]
push ecx
lea edx, [ebp + 0xc]
push edx
lea edi, [ebp - 0x48]
mov ecx, eax
call fcn.00408420
add esp, 8
test eax, eax
jne 0x41b32d
push 0xd
push 0x58227c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00404410
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 8
call fcn.00409440
push eax
mov eax, 0x582268
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.004093f0
add esp, 4
mov ecx, eax
mov eax, edi
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 0xa
call fcn.00409440
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0xb
call fcn.00403af0
mov esi, 0x10
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x88], esi
jb 0x41b1bf
mov eax, dword [ebp - 0x9c]
push eax
call fcn.0042465c
add esp, 4
xor ebx, ebx
mov edi, 0xf
mov byte [ebp - 4], 9
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x6c], esi
jb 0x41b1ed
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x50], esi
jb 0x41b20b
mov edx, dword [ebp - 0x64]
push edx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x18], esi
jb 0x41b229
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0042465c
add esp, 4
mov eax, dword [ebp - 0x990]
cmp dword [eax + 0x168], 0
je 0x41b337
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x98c], esp
push str.logupdate.log
add eax, 0x16c
push eax
push ecx
call fcn.00409720
lea edx, [ebp - 0x48]
add esp, 0xc
push edx
call fcn.004052a0
add esp, 0x20
jmp 0x41b433
push 0xd
push 0x582258
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00404410
lea eax, [ebp + 0xc]
lea ecx, [ebp - 0x2c]
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call fcn.00409440
push eax
mov bl, 6
mov eax, 0x582250
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], bl
call fcn.004093f0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.00403af0
mov edi, 0x10
mov byte [ebp - 4], bl
cmp dword [ebp - 0x6c], edi
jb 0x41b2da
mov eax, dword [ebp - 0x80]
push eax
call fcn.0042465c
add esp, 4
xor ebx, ebx
mov esi, 0xf
mov byte [ebp - 4], 5
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x88], edi
jb 0x41b305
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.0042465c
add esp, 4
mov byte [ebp - 4], 4
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0x18], edi
jb 0x41b229
mov edx, dword [ebp - 0x2c]
push edx
jmp 0x41b221
mov edi, 1
jmp 0x41b437
lea eax, [ebp - 0x988]
push eax
call fcn.0040de80
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.0041db20
mov edi, 8
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], edi
jb 0x41b363
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x98c]
call fcn.00410370
mov bl, 0xe
push 0x581bd4
lea ecx, [ebp - 0x990]
mov byte [ebp - 4], bl
call fcn.00410370
lea edx, [ebp - 0x98c]
xor ecx, ecx
push edx
lea eax, [ecx + 3]
lea edx, [ebp - 0x990]
lea esi, [ebp - 0x988]
mov byte [ebp - 4], 0xf
call fcn.0040e1c0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x990]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b3ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x98c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b3f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x50], edi
jb 0x41b405
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0042465c
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x988]
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
call fcn.00432b23
lea ecx, [ebp - 0x988]
mov byte [ebp - 4], 4
call fcn.0040e040
xor ebx, ebx
mov edi, ebx
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa4], 8
jb 0x41b453
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0042465c
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
jb 0x41b482
mov edx, dword [ebp - 0x48]
push edx
call fcn.0042465c
add esp, 4
mov esi, 0xf
mov byte [ebp - 4], bl
cmp dword [ebp + 0x20], 0x10
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
jb 0x41b4a5
mov eax, dword [ebp + 0xc]
push eax
call fcn.0042465c
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x3c], 0x10
mov dword [ebp + 0x20], esi
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0xc], bl
jb 0x41b4c7
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.0042465c
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00523079
mov esp, ebp
pop ebp
ret 0x40