Function at 0x408c60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b998
mov eax, dword fs:[0]
push eax
sub esp, 0x860
mov eax, dword [0x487870]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 4], 0
push 0x43ee54
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jne 0x408cdd
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407d60
mov eax, dword [ebp - 0x838]
jmp 0x408eb7
mov eax, dword [ebp - 0x81c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x834], eax
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x850], str.I7Y2b2gaakFKdDBSzIJKv6tkKwoqF8o7TVugF6n3OFaCeV67z63KaPXMpNFDmnWa2Pk7Qhgk7sSUkGPJ9rxQP3AEF181SvwBJhs4UTEXGdmwVhJAlgyiv4Nwkvl0dFtEUj9A9KcF0ANT117LuHFjhzYI1LDvPODORDNbTXvUkq7V85MCiyF9gFunbr1YSQhNbD3mA6bXNDT7qy0LKdx6HPCm6gdo1w8DLgJEJ4JPllvpCor8cLrpRXCkSaDdvwnATbRBWcEiKJVh1siQiTLpbjIGscpqbmDd8DHLRdnSAeUJtu9m3W8o4x3CAxmxrw0jozFHfbgVjiSir84kLUhI4FK5RwGYULOmoVYKKUHQ3CQuqerGdifPMN22i8pO8wLKPjGD64AguFT2wGKR3uT90lMHaar4iFTlV9qOAatLhMn5ui447jlbURCBrTY0Ic4O1F58dz5x6YdQmHoOSvYs18csHBiiHQW2aB7hqXwmUiu0aiCKvhQpe9wF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j8pLCql83cHaAkHM0E4wn47aohFwEPd3DubFeiq1USEWVE3c3bYdMQCQirWn4k9Lhx
mov dword [ebp - 0x820], 0x433bc6
push 0x43cfbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x824], 0
cmp dword [ebp - 0x818], 0
je 0x408d56
push 0x4534b0
mov edx, dword [ebp - 0x818]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x824], eax
cmp dword [ebp - 0x824], 0
je 0x408d7e
mov dword [ebp - 0x86c], str.3lPxzHAtnnqtB0SUhCMTDc8DnI8sL9ARo8cRppqi8u17YAdPkmnnBOHfHaKKQLrwYuKNFMK63Hi3dqiV6Vc1OilmVeml6csGd9zBUAJKSENQEnK8
mov eax, dword [ebp - 0x81c]
push eax
push 0
call dword [ebp - 0x824]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x818], 0
je 0x408d9e
mov dword [ebp - 0x868], str.vaud7SjiSVMVKS8FK6IR7904hy4Mf9cx7kxeJhSm1T8C6K1zyo6Loa3zhYRapEuP78NtOsgE7hy4YhPVx3zEMXd6bb3S0WKX2NY4N8GOnrVWIkDqUzuDMpKazCMo7PLdiCzCJOTMksjXF7stLAVmsgkBrow8UshD63Hje13KPYWPhgfiVRDXsa6u3hQADpY7uGfMt3Kb5kli5LVPal383FEbYCDfACvclhJefa5NAua5G3nQX3m40d3gbvRCarthlHtlSvyBd2hWLSoOIdprJ8LDUyMdQCqu3Wpjm4aR6dLF6sM1C9MudBLrL7OzbgQHMddT8Lk6MUU4ulhsFlKVXLt5D8BfMTeBLMfkjqV54EdVSuxWJpi38CIdMbYMnqWC06BlxIkT8Bl6hge4
mov ecx, dword [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x844], str.bQ2qbrYmvbF9CJhfQwFLBMM9YGHybcYq1GBsm8O5zQmjSV7kCCdjxDRqK6NKYfJS4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RYl4ULrahKlFpAnnxHER8sK2ovUy0pHKwQjksrHQwGqTWsIjAteXfbv0Hf7n2JTgokXyjfbG71liaYus14FPizoDxPxgSQn9ks2dcBvLOH8UG95DsBcsHyqVh3uxBXFXg2KmIsBw8QQRxTEzIYzqKvTdXShDHg32mwQAn9CE8Oyn7b9JKM1SEhm9fwd2YSAxR7C8zt1hxL8ccfI3PGoe0dqGQiyjGdkwgWhtj7HEDjs8q5t7Db5gURy20Bg7J8lqlXOxgMDsP6YPIpNqDwua9Pc87KYvoA4VUAIgREBjVxBjV0p1SlvIstdJQnUVNuSqEoSBS1S3W4lVVpT36ICA9tNg5bneYv2nTxPryq6846hutVCRLkPnSLwIQQICY5yrGEDyzGcFI7yakCOT2hMvRydNs7pJKolnMTWA5SrqxAqv9kwKJgFlHh5PmGWzcp57EW04FmrLlYdtBDCasrf8tGCLdkXxdSlGsXBsoI9I9PiqhUM0tvSYG
cmp dword [ebp - 0x820], 0
jne 0x408dd5
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407d60
mov eax, dword [ebp - 0x83c]
jmp 0x408eb7
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x814], eax
mov dword [ebp - 0x860], str.n8SABH1yiXJ9K1i10sLpKmRJ8FtN39gmiAmxJYCbbDi4UE0LHnjn8ejseD54TzLwNWQhe9Piya3qe9S26wiHSQiEW09tFt9a5Ukqv8v2xYuuvggi6pBH1hsySFQMvvjDji6wJDEfL501N97iDDxGmoD8cfgeQKMwGWT6Qdpum3Papf3VGQM
mov dword [ebp - 0x858], str.G7ppIRpIMgy1WPdsJ0avCHNfe2nqi3FDfzNp0uaPwRNpVPEUhfiBqoq3Gk3gOE4kLDIdsjnF3wdrNxUfrkK7vD5XbSAMCTJBJq38PUnPRHiGN4X3IoEguteYYWuiB5ta6CxRaebavSYGWmTE4aWMfeSinOB3pjcsjsRBGupH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WyrVwyU3Qooy7wnqYtB0kLtuiIaLCXSFmd14hNjVYTmO8sQryjuu23CM7nLiaiIMtiY2fbuQQv6tnB8TBEajSfyNxDFGNjEudLafkxJxTV9MY3rjxQjsCvQIfn8xf7WvWSHKCMn7AGV9MnA5dx0xd075TfcyWhroxa3frOQ3h2F4kGVvUDBMNR5Q6CMB3UyEeo02jAFgi2rgRAtJriO8LixmpHBFpDiELCE6U1o1Vs7vleHQX
cmp dword [ebp - 0x814], 0
jne 0x408e33
mov dword [ebp - 0x848], str.dEmTi2PahSmhfGobpA3VSjeDBvMdvBXqtOJuXNNi5QD6h6v8yEDyuSDBald2sLC2So9fTq5GDwxzciaj5BRtAXN0SffldAhlFgtzjRDYpUwSn1hmuWG6BuzPgA693wy9a39ohsF7sf5jzTzJtUtoNL2trU0tGWM4R45fN1FluVHeXByHPocXoBwBc3ftee6xokJdKQmgQCT34Grpu1iUrfHdWU4o9DlQvx4YTEMNy9ciNFgLz5JXTpsELJKwksc688wNVCbdcw8yv2MyiD1qEfVzlSCf2T4fje9wmn745Yhu
mov dword [ebp - 0x840], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407d60
mov eax, dword [ebp - 0x840]
jmp 0x408eb7
mov dword [ebp - 0x84c], str.4iMRQcyzjI1cX2QlIKVBBkhX702k4EUWKPAIMOQN6hPODjuRay10MF2yoDHa5t1J6p135nLCtMY0yG7PdAWYE24SAeYQvDuRbdx7tx0v8sUK1vPA2rWCUOGzc7NWjXOzHGDg9W4KSdwCbyYOnRj4Do13PiCwoIKt1tQWBacsEDiJ96exHRhwl2XCitnhvDiu8oGFNIozx6bPRQq42B9jT1ans6yrkTIREsG235sQMzGccVK56tcNxw0goh9So8AbRVpF3GUVJNMITYDze4LrXJG1hPE0aqFkGfrmVV6cUe0PA4KQpacMcLagsi7MWk5zF2mUaa4VYXmzOF3BgLNrGF7poUgY66h4AOvKQxQMVr9mvGy38VLgTKBXv288EBD3FTYKqgV01g4r2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Gncu6CCV0jtLB2FLvM3w1JTzzt9RHi5GlepuIP4j3m5FPcsaleK6FlXWA2KuMafFo3V1VAjG25fCoUwD5hE1aA7cVhIBvbmAAAO9oJaTllLjVojlDm5W7pm6TvTeklPetpeCaJhcDl0AaVGiHFzeEhxS2lJzFKqqlSsRUFfiRD0wLSPxGhITqjqfaHm40xkRhf05M6vmc4sntJp2O3jKA7FjmTvjMX7h7wq5qgp08OFC0XpG2IhdNXPGXvy8wNbWWCaWTg2f1nKHkTbcXoRC5FRV3QuHVpi3FUEviLRsESy93hO6BOn5NRBjbmxOXBHeBVHh0M2M9c74BlXHETGzfuRceYxRmSbsQX8kVN75cK0a1RRcmA0Nj2rpNz9UONWChaVtwMCGMjqogIcFFFCbsy1eKiCg7YCAtrffJoVlaYeRlPXdnLXNCF9reFTm2b98PBkR0KijPaTUieCQXjEwhDkfAwxUkbU1ugAekETfADA5bXYzHzpQpdSgv2KMORHXnOzXbqLirt461fgjFE61vN6DTGm5jcEC9yYqzXR3I4ITUh3VEtIUBl5VYjR5EcjAgzEB2M2xYaDDWqmjeOre
movzx eax, byte [ebp + 8]
test eax, eax
je 0x408e96
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x85c], esp
lea edx, [ebp + 0xc]
push edx
call fcn.0040b310
mov dword [ebp - 0x864], eax
mov eax, dword [ebp - 0x834]
push eax
push 0
mov ecx, dword [ebp - 0x814]
push ecx
mov ecx, dword [ebp - 0x82c]
call fcn.00408b00
mov dword [ebp - 0x830], eax
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x814]
mov dword [ebp - 0x828], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00407d60
mov eax, dword [ebp - 0x828]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004136d5
mov esp, ebp
pop ebp
ret 0x1c