Function at 0x411e0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00411e0f
xor esi, esi
xor edi, edi
mov ecx, 0x13
push esi
dec ecx
jne 0x411e2b
push 0xa
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [0x421870]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
fldcw word [ebp - 0x10]
mov esi, eax
mov eax, esi
push eax
push dword [0x421870]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
fldcw word [ebp - 0x10]
mov edi, eax
mov eax, esi
push eax
push dword [0x421870]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
fldcw word [ebp - 0x10]
add eax, edi
mov dword [0x4218e4], eax
fild dword [0x424340]
mov ebx, edi
mov eax, dword [ebx]
call fcn.0041e3a8
fcompp
fnstsw ax
sahf
jne 0x41215f
mov ecx, edi
push ecx
mov eax, esi
push eax
push dword [0x421870]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
fldcw word [ebp - 0x10]
pop ecx
call fcn.0041c835
mov ecx, 5
mov eax, 0x7fffffff
call fcn.00418b01
lea ebx, [ebp - 0xb8]
call fcn.0041e3d6
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
xor eax, eax
call fcn.0041791b
mov edx, 0x422094
call fcn.0041ef8b
call fcn.0041e72f
jne 0x411efb
mov eax, 1
or dword [0x42187c], eax
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
xor eax, eax
call fcn.0041791b
mov edx, 0x4220a8
call fcn.0041ef8b
call fcn.0041e72f
jne 0x411f32
mov eax, 4
or dword [0x42187c], eax
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
xor eax, eax
call fcn.0041791b
mov edx, 0x4220c0
call fcn.0041ef8b
call fcn.0041e72f
jne 0x411f69
mov eax, 8
or dword [0x42187c], eax
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
mov ecx, 1
mov eax, 7
call fcn.00418b01
xor eax, eax
call fcn.0041791b
mov edx, 0x422060
call fcn.0041ef8b
call fcn.0041e72f
jne 0x411fb0
lea ebx, [ebp - 0xb8]
push ebx
call fcn.0041166e
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
mov ecx, 1
mov eax, 0xe
call fcn.00418b01
xor eax, eax
call fcn.0041791b
mov edx, 0x422080
call fcn.0041ef8b
call fcn.0041e72f
jne 0x41200a
push 0
lea ebx, [ebp - 0xb8]
push ebx
call fcn.0041178d
pop dword [ebp - 0x30]
cmp eax, dword [ebp - 0x30]
jne 0x412005
jmp 0x412906
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
mov ecx, 1
mov eax, 5
call fcn.00418b01
xor eax, eax
call fcn.0041791b
mov edx, 0x4220d8
call fcn.0041ef8b
call fcn.0041e72f
jne 0x41206f
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
mov ecx, 7
mov eax, 0x7fffffff
call fcn.00418b01
call fcn.0041d0b7
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
call fcn.0041be67
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
mov ecx, 1
mov eax, 6
call fcn.00418b01
xor eax, eax
call fcn.0041791b
mov edx, 0x4220e4
call fcn.0041ef8b
call fcn.0041e72f
jne 0x4120ce
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
mov ecx, 8
mov eax, 0x7fffffff
call fcn.00418b01
mov ebx, 0x4218d0
call fcn.0041e3d6
jmp 0x41215a
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
xor eax, eax
call fcn.0041791b
push 0
mov eax, 0xff
call fcn.004156f8
call fcn.004156a9
call fcn.0041e72f
jne 0x412141
mov dword [0x4218b8], 1
push 0
push 0
mov eax, 0xff
call fcn.004156f8
call fcn.004156a9
lea ebx, [esp]
push ebx
call fcn.0041e3d6
call fcn.0040f600
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.0041c82d
pop eax
add esp, 4
call fcn.0041c82d
jmp 0x41215a
mov edx, 0x4220f0
call fcn.0041ef8b
mov eax, 0x12000
call fcn.0041efb6
call fcn.00416284
jmp 0x4128f7
nop
mov eax, esi
push eax
push dword [0x421870]
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
fldcw word [ebp - 0x10]
mov dword [ebp - 0xa4], eax
fild dword [0x42439c]
mov eax, dword [ebp - 0xa4]
call fcn.0041e3a8
fcompp
fnstsw ax
sahf
jae 0x4121b1
mov ecx, edi
mov eax, dword [ebp - 0xa4]
call fcn.0041c835
lea ebx, [ebp - 0xb8]
call fcn.0041e3d6
jmp 0x4121c8
mov ecx, edi
mov eax, 0x64
call fcn.0041c835
lea ebx, [ebp - 0xb8]
call fcn.0041e3d6
push 0
push 0
mov eax, 0x26
call fcn.004156f8
call fcn.004156a9
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
call fcn.0041e69a
lea ebx, [esp]
push ebx
call fcn.0041e3d6
call fcn.0040f600
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.0041c82d
pop eax
add esp, 4
call fcn.0041efa2
mov ecx, 2
mov eax, 0x7fffffff
call fcn.00418b01
lea ebx, [ebp - 0xc0]
call fcn.0041e3d6
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov edx, 0x421af8
call fcn.0041ef8b
call fcn.0041e72f
jne 0x41225d
mov eax, 0xffff
call fcn.00418c21
lea ebx, [ebp - 0xc0]
call fcn.0041e3d6
mov eax, 1
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
jne 0x4124fe
mov eax, 0x64
add eax, edi
mov dword [0x4218e0], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [0x421894]
add eax, ecx
mov dword [0x421894], eax
fild dword [0x421884]
fstp xword [ebp - 0x50]
fild dword [0x424314]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x412472
mov dword [ebp - 0xb4], 3
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0x5c
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], 0x1388
mov dword [ebp - 0xbc], 0x64
jmp 0x41243e
mov eax, dword [0x4218e4]
mov ecx, 0x1388
add ecx, dword [0x4218e0]
cmp ecx, eax
jle 0x412340
mov ecx, dword [0x4218e0]
mov eax, dword [0x4218e4]
sub eax, dword [0x4218e0]
call fcn.0041c835
lea ebx, [ebp - 0xb8]
call fcn.0041e3d6
jmp 0x41235b
mov ecx, dword [0x4218e0]
mov eax, 0x1388
call fcn.0041c835
lea ebx, [ebp - 0xb8]
call fcn.0041e3d6
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
call fcn.0041ef59
add dword [0x4218e0], eax
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
call fcn.0041ef59
mov dword [ebp - 0xb0], eax
mov eax, dword [0x421904]
mov word [ebp - 0x46], ax
lea ebx, [ebp - 0xb4]
mov ecx, 0x10
call fcn.0041ed4e
mov edx, dword [ebp - 0xb8]
call fcn.0041ef74
call fcn.0041e69a
call fcn.00417d8b
call fcn.0040d6d9
call fcn.0041efa2
mov ecx, 2
mov eax, 0x7fffffff
call fcn.00418b01
lea ebx, [ebp - 0xc0]
call fcn.0041e3d6
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
push 0
mov eax, 4
call fcn.004156f8
call fcn.004156a9
call fcn.0041e72f
je 0x412402
jmp 0x41246d
push 0
mov eax, dword [ebp - 0xa4]
call fcn.0041e3a8
fild dword [0x42439c]
fimul dword [ebp - 0xbc]
fdivrp st(1)
fistp qword [ebp - 0x6c]
mov eax, dword [ebp - 0x6c]
lea ebx, [esp]
push ebx
mov dword [ebx], eax
call fcn.0040bd42
add esp, 4
mov eax, dword [ebp - 0xcc]
add dword [ebp - 0xbc], eax
test byte [ebp - 0xc9], 0x80
jne 0x41245b
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xd0]
jle 0x412300
jmp 0x41246d
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xd0]
jge 0x412300
jmp 0x4124db
fild dword [0x424310]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x4124db
call fcn.0040c368
push 0
push 0
mov eax, 0x26
call fcn.004156f8
call fcn.004156a9
lea ebx, [esp]
push ebx
call fcn.0041e3d6
call fcn.0040f600
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.0041c82d
pop eax
add esp, 4
call fcn.0041efa2
mov ecx, 2
mov eax, 0x7fffffff
call fcn.00418b01
lea ebx, [ebp - 0xc0]
call fcn.0041e3d6
cmp dword [0x421884], 3
je 0x41290c
push 0
mov eax, 0x64
lea ebx, [esp]
push ebx
mov dword [ebx], eax
call fcn.0040bd42
add esp, 4
xor eax, eax
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
jne 0x412521
jmp 0x4127d6
mov eax, 3
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
jne 0x412547
jmp 0x4127d6
mov eax, 5
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
jne 0x4125ac
push 0
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov ecx, 2
mov eax, 0x7fffffff
call fcn.00418b01
lea ebx, [esp]
push ebx
call fcn.0041e3d6
call fcn.0041166e
push eax
mov ebx, esp
mov eax, dword [ebx + 4]
call fcn.0041c82d
pop eax
add esp, 4
jmp 0x412906
mov eax, 0x82
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
jne 0x41274c
movzx eax, byte [0x4218b4]
call fcn.0041e3a1
fstp xword [ebp - 0x50]
fild dword [0x423db0]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x41260a
mov edx, 0x422104
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
jmp 0x412705
fild dword [0x423db4]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x412638
mov edx, 0x422158
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
jmp 0x412705
fild dword [0x423db8]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x412666
mov edx, 0x4221bc
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
jmp 0x412705
fild dword [0x423dbc]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x412694
mov edx, 0x4221fc
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
jmp 0x412705
fild dword [0x423dc0]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x4126c2
mov edx, str.Error_code_004
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
jmp 0x412705
fild dword [0x423dc4]
fld xword [ebp - 0x50]
fcompp
fnstsw ax
sahf
jne 0x4126f0
mov edx, 0x4222c0
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
jmp 0x412705
mov edx, 0x422314
call fcn.0041ef8b
lea ebx, [ebp - 0xc8]
call fcn.0041e3d6
mov edx, dword [ebp - 0xc8]
call fcn.0041ef74
mov edx, 0x421990
call fcn.0041ef8b
call fcn.0041e69a
mov ebx, dword [ebp + 8]
fild dword [ebx]
call fcn.0041cf9b
call fcn.0041e69a
mov eax, 0x12000
mov edx, 0x42236c
call fcn.0041ef8b
call fcn.00416284
jmp 0x412906
mov eax, 0x90
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
mov eax, 0xffffffff
je 0x41276f
inc eax
mov ecx, 0x92
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, ecx
mov eax, 0xffffffff
je 0x412791
inc eax
or eax, dword [ebp - 0x30]
mov ecx, 0x93
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, ecx
mov eax, 0xffffffff
je 0x4127b6
inc eax
or eax, dword [ebp - 0x30]
test eax, eax
je 0x4127cc
inc dword [ebp - 0xc4]
jmp 0x4127d6
mov dword [ebp - 0xc4], 3
mov eax, 0x90
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, dword [ebp - 0x30]
mov eax, 0xffffffff
je 0x4127f9
inc eax
mov ecx, 0x92
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, ecx
mov eax, 0xffffffff
je 0x41281b
inc eax
or eax, dword [ebp - 0x30]
mov ecx, 0x93
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov dword [ebp - 0x30], eax
call fcn.0041d0de
cmp eax, ecx
mov eax, 0xffffffff
je 0x412840
inc eax
or eax, dword [ebp - 0x30]
test eax, eax
je 0x412854
cmp dword [ebp - 0xc4], 3
jl 0x412160
cmp dword [ebp - 0xc4], 3
jne 0x4128f7
mov edx, str.c:diagnos_reconnect.exe
call fcn.0041ef8b
mov edx, 0x421988
call fcn.0041ef8b
call fcn.0041e69a
mov edx, 0x4223a8
call fcn.0041ef8b
call fcn.0041e69a
mov edx, dword [ebp - 0xc0]
call fcn.0041ef74
mov eax, 1
call fcn.00415847
mov ecx, eax
mov eax, 4
call fcn.004155ba
call fcn.0041e69a
mov ebx, dword [ebp + 8]
fild dword [ebx]
call fcn.0041cf9b
call fcn.0041e69a
mov eax, 0x10030
mov edx, str._autolink
call fcn.0041ef8b
call fcn.00416284
xor eax, eax
mov ecx, 1
and ecx, dword [0x42187c]
cmp ecx, eax
je 0x4128f1
jmp 0x412906
inc dword [0x4218d4]
mov dword [ebp - 0x98], 0xffffffff
jmp 0x41290c
inc dword [0x4218d4]
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
fldcw word [ebp - 0x10]
call fcn.0041ee65
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4