Function at 0x403136
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x410324
call fcn.00408c5c
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
push esi
mov dword [ebp - 0x34], esi
call fcn.00406f41
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 4], ebx
lea edi, [esi + 8]
mov dword [ebp - 0x10], edi
mov dword [edi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
push ebx
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x403188
push 1
push str.GetModuleHandle
push 3
jmp 0x4031d1
push 0x411570
push 0x65
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x4031cc
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4031cc
push dword [ebp - 0x30]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
cmp eax, ebx
je 0x4031cc
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
cmp eax, ebx
mov dword [ebp - 0x30], eax
jne 0x4031d6
push 1
push ebx
push 4
call fcn.00405f81
push 0x17
push ebx
push 0x411560
mov ecx, edi
call fcn.00402c02
cmp eax, ebx
jge 0x4031ee
push eax
push 5
jmp 0x403202
mov eax, dword [ebp - 0x14]
inc eax
push eax
call fcn.00407bbe
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x403207
push ebx
push 2
call fcn.00405f11
push dword [ebp - 0x14]
push dword [ebp - 0x30]
push edi
call fcn.00408100
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
mov byte [edi + eax], bl
call fcn.0040124a
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004028a7
mov ecx, eax
call fcn.004030d3
movsx eax, ax
push edi
mov dword [ebp - 0x30], eax
call fcn.00408065
cmp dword [ebp - 0x30], ebx
pop ecx
jne 0x403457
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
push eax
call fcn.004028a7
mov ecx, eax
call fcn.00402bbf
push str.Line
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040129e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.004028a7
mov ecx, eax
call fcn.004027e5
mov word [ebp - 0x54], 3
mov dword [ebp - 0x4c], eax
push str.__Col
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.0040129e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.004028a7
mov ecx, eax
call fcn.004027ba
mov word [ebp - 0x44], 3
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00402dab
mov esi, eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00402dab
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.004017b2
push esi
lea ecx, [ebp - 0x18]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.004017b2
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00401750
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x40331e
call fcn.004013dd
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x24]
cmp ecx, ebx
je 0x40332d
call fcn.004013dd
mov dword [ebp - 0x24], ebx
mov ecx, dword [ebp - 0x28]
cmp ecx, ebx
je 0x40333c
call fcn.004013dd
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x40334b
call fcn.004013dd
mov dword [ebp - 0x2c], ebx
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 8
call esi
cmp eax, ebx
jge 0x403365
push eax
call fcn.00407a30
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x403371
call fcn.004013dd
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call esi
cmp eax, ebx
jge 0x403385
push eax
call fcn.00407a30
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004028a7
mov ecx, eax
call fcn.00402e5d
push eax
lea eax, [ebp - 0x30]
push str._nLine:
push eax
mov byte [ebp - 4], 0xe
call fcn.00401802
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00401750
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x4033ca
call fcn.004013dd
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x4033da
call fcn.004013dd
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.004028a7
mov ecx, eax
call fcn.00402e1f
push eax
lea eax, [ebp - 0x30]
push str._nReason:
push eax
mov byte [ebp - 4], 0x10
call fcn.00401802
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x11
call fcn.00401750
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x40341f
call fcn.004013dd
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
mov byte [ebp - 4], 6
je 0x40342f
call fcn.004013dd
push 1
lea ecx, [ebp - 0x10]
call fcn.004028a7
mov ecx, eax
call fcn.0040278f
push eax
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.004013be
push 0xa
jmp 0x4035cb
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x12
call fcn.004028a7
mov ecx, eax
call fcn.00402b86
push dword [eax]
lea ecx, [ebp - 0x14]
call fcn.00402903
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x403488
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.interval
lea ecx, [ebp - 0x10]
call fcn.0040129e
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0x13
call fcn.004062a7
add esp, 0x10
mov ecx, dword [ebp - 0x10]
cmp ecx, ebx
mov byte [ebp - 4], 0x15
je 0x4034c0
call fcn.004013dd
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x4034cb
mov eax, dword [eax]
jmp 0x4034cd
xor eax, eax
push eax
call fcn.00409052
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov dword [esp], str.configtype
call fcn.0040129e
push ebx
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x16
call fcn.004062a7
add esp, 0x10
lea edi, [esi + 0x14]
push eax
mov ecx, edi
call fcn.004016cd
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x403517
call fcn.004013dd
mov dword [ebp - 0x30], ebx
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
mov byte [ebp - 4], 0x15
je 0x403527
call fcn.004013dd
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
call fcn.004013be
lea eax, [ebp - 0x30]
push eax
call fcn.00406a7e
pop ecx
pop ecx
push eax
lea ecx, [esi + 4]
call fcn.004016cd
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x403553
call fcn.004013dd
push str.recoveryinterval
lea ecx, [ebp - 0x18]
call fcn.0040129e
mov edi, dword [ebp - 0x14]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push edi
push eax
mov byte [ebp - 4], 0x17
call fcn.004062a7
add esp, 0x10
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
mov byte [ebp - 4], 0x19
je 0x40358c
call fcn.004013dd
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x403597
mov eax, dword [eax]
jmp 0x403599
xor eax, eax
push eax
call fcn.00409052
pop ecx
push ebx
push dword [ebp - 0x28]
mov dword [esi + 0x10], eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
cmp eax, ebx
mov dword [esi + 0xc], eax
jne 0x4035d0
push 1
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.SetTimer
call fcn.0040129e
push 3
call fcn.00405f34
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x4035df
call fcn.004013dd
mov dword [ebp - 0x1c], ebx
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x4035ee
call fcn.004013dd
mov dword [ebp - 0x20], ebx
cmp edi, ebx
mov byte [ebp - 4], 3
je 0x4035fc
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret