Function at 0x439109
Capabilities:
Link many functions at runtime

Disassembly:
push 8
push 0x5a5040
call fcn.005398f0
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.004f25a9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.004f296d
push 0x4384b5
push 0x5d8f78
call fcn.004f29dc
push 0x41fbaa
push 0x5d8ed4
call fcn.004f29dc
push 0x41fa68
push 0x5d8ed8
call fcn.004f29dc
push 0x41fb84
push 0x5d8edc
call fcn.004f29dc
push 0x438404
push 0x5d8f7c
call fcn.004f29dc
push 0x43845e
push 0x5d8f80
call fcn.004f29dc
mov esi, str.wininet.dll
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
cmp edi, ebx
jne 0x4391a8
mov ecx, esi
call fcn.0049a354
mov edi, eax
cmp edi, ebx
je 0x4393d1
push 0x581bf4
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x5d8f10], eax
cmp eax, ebx
je 0x4391ce
push 0x4374fc
push 0x5d8f10
call fcn.004f29dc
push 0x581c10
push edi
call esi
mov dword [0x5d8f38], eax
cmp eax, ebx
je 0x4391ee
push 0x4373ce
push 0x5d8f38
call fcn.004f29dc
push 0x581c24
push edi
call esi
mov dword [0x5d8f3c], eax
cmp eax, ebx
je 0x43920e
push 0x43741f
push 0x5d8f3c
call fcn.004f29dc
push 0x581c38
push edi
call esi
mov dword [0x5d8f2c], eax
cmp eax, ebx
je 0x43922e
push 0x437ab6
push 0x5d8f2c
call fcn.004f29dc
push 0x581c4c
push edi
call esi
mov dword [0x5d8f30], eax
cmp eax, ebx
je 0x43924e
push 0x437ad2
push 0x5d8f30
call fcn.004f29dc
push 0x581c60
push edi
call esi
mov dword [0x5d8ee4], eax
cmp eax, ebx
je 0x43926e
push 0x43753c
push 0x5d8ee4
call fcn.004f29dc
push 0x581c74
push edi
call esi
mov dword [0x5d8ee8], eax
cmp eax, ebx
je 0x43928e
push 0x437636
push 0x5d8ee8
call fcn.004f29dc
push 0x581c88
push edi
call esi
mov dword [0x5d8eec], eax
cmp eax, ebx
je 0x4392ae
push 0x4375b5
push 0x5d8eec
call fcn.004f29dc
push 0x581ca0
push edi
call esi
mov dword [0x5d8ef0], eax
cmp eax, ebx
je 0x4392ce
push 0x4376af
push 0x5d8ef0
call fcn.004f29dc
push 0x581cb8
push edi
call esi
mov dword [0x5d8ef4], eax
cmp eax, ebx
je 0x4392ee
push 0x437730
push 0x5d8ef4
call fcn.004f29dc
push 0x581cd0
push edi
call esi
mov dword [0x5d8ef8], eax
cmp eax, ebx
je 0x43930e
push 0x4377c1
push 0x5d8ef8
call fcn.004f29dc
push str.ObtainUserAgentString
push str.urlmon.dll
call fcn.004a52a4
pop ecx
pop ecx
mov dword [0x5d4f24], eax
cmp eax, ebx
je 0x439337
push 0x436ad0
push 0x5d4f24
call fcn.004f29dc
push 0x581d00
push edi
call esi
mov dword [0x5d8efc], eax
cmp eax, ebx
je 0x439357
push 0x436caa
push 0x5d8efc
call fcn.004f29dc
push str.InternetErrorDlg
push edi
call esi
mov dword [0x5d4ef8], eax
cmp eax, ebx
je 0x439377
push 0x437123
push 0x5d4ef8
call fcn.004f29dc
cmp dword [0x5d78a0], ebx
jne 0x43938f
cmp dword [0x5d78a4], ebx
jne 0x43938f
cmp dword [0x5d78a8], ebx
je 0x4393d7
push 0x581d2c
push edi
call esi
mov dword [0x5d8f28], eax
cmp eax, ebx
je 0x4393af
push 0x4388e2
push 0x5d8f28
call fcn.004f29dc
push 0x581d44
push edi
call esi
mov dword [0x5d8f24], eax
cmp eax, ebx
je 0x4393d7
push 0x4388ec
push 0x5d8f24
call fcn.004f29dc
jmp 0x4393d7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, str.Ws2_32.dll
call fcn.0049a354
mov edi, eax
cmp edi, ebx
je 0x439421
push str.getaddrinfo
push edi
call esi
mov dword [0x5b6c98], eax
push str.GetAddrInfoW
push edi
call esi
mov dword [0x5d4f00], eax
push str.GetAddrInfoExW
push edi
call esi
mov dword [0x5d4efc], eax
cmp eax, ebx
je 0x439421
push 0x438c1a
push 0x5d4efc
call fcn.004f29dc
mov ecx, str.Advapi32.dll
call fcn.0049a354
mov edi, eax
cmp edi, ebx
je 0x439471
push 0x581db0
push edi
call esi
mov dword [0x5d8f48], eax
cmp eax, ebx
je 0x439451
push 0x438a7f
push 0x5d8f48
call fcn.004f29dc
push str.RegGetValueW
push edi
call esi
mov dword [0x5d4f04], eax
cmp eax, ebx
je 0x439471
push 0x438ae1
push 0x5d4f04
call fcn.004f29dc
mov ebx, str.ole32.dll
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
jne 0x439494
mov ecx, ebx
call fcn.0049a354
mov edi, eax
test edi, edi
je 0x439523
push 0x581de4
push edi
call esi
mov dword [0x5d8f74], eax
test eax, eax
je 0x4394b4
push 0x437aee
push 0x5d8f74
call fcn.004f29dc
push str.OleRegGetMiscStatus
push edi
call esi
mov dword [0x5d4f1c], eax
test eax, eax
je 0x4394d4
push 0x437cf4
push 0x5d4f1c
call fcn.004f29dc
cmp dword [0x5d787c], 0
je 0x439523
cmp dword [0x5d7888], 0
je 0x439503
push 0x581e0c
push edi
call esi
mov dword [0x5d4f14], eax
test eax, eax
je 0x439523
push 0x437d41
push 0x5d4f14
jmp 0x43951e
push str.CoCreateInstanceEx
push edi
call esi
mov dword [0x5d4f18], eax
test eax, eax
je 0x439523
push 0x437e48
push 0x5d4f18
call fcn.004f29dc
mov edi, str.oleaut32.dll
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call ebx
test eax, eax
jne 0x439540
mov ecx, edi
call fcn.0049a354
test eax, eax
je 0x439560
push str.LoadRegTypeLib
push eax
call esi
mov dword [0x5d4f20], eax
test eax, eax
je 0x439560
push 0x437d37
push 0x5d4f20
call fcn.004f29dc
push str.timeGetTime
mov edi, str.winmm.dll
push edi
call fcn.004a52a4
pop ecx
pop ecx
mov dword [0x5d4f34], eax
test eax, eax
je 0x43958a
push 0x437851
push 0x5d4f34
call fcn.004f29dc
push 0x581e80
push str.kernel32.dll
call fcn.004a52a4
pop ecx
pop ecx
mov dword [0x5d4f38], eax
test eax, eax
je 0x4395b3
push 0x437857
push 0x5d4f38
call fcn.004f29dc
push str.waveOutWrite
push edi
call fcn.004a52a4
pop ecx
pop ecx
mov dword [0x5d4f2c], eax
test eax, eax
je 0x4395d8
push 0x437861
push 0x5d4f2c
call fcn.004f29dc
cmp dword [0x5d7884], 0
jne 0x439635
push str.midiStreamOut
push edi
call fcn.004a52a4
pop ecx
pop ecx
mov dword [0x5d4f30], eax
test eax, eax
je 0x439606
push 0x4378c0
push 0x5d4f30
call fcn.004f29dc
push str.dsound.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x439635
push str.DirectSoundCreate
push eax
call esi
mov dword [0x5d4f3c], eax
test eax, eax
je 0x439635
push 0x4378e0
push 0x5d4f3c
call fcn.004f29dc
mov edi, str.Psapi.dll
push edi
call ebx
test eax, eax
jne 0x43964c
mov ecx, edi
call fcn.0049a354
test eax, eax
je 0x43966c
push str.GetModuleBaseNameW
push eax
call esi
mov dword [0x5d4f0c], eax
test eax, eax
je 0x43966c
push 0x4387c2
push 0x5d4f0c
call fcn.004f29dc
mov edi, str.urlmon.dll
push edi
call ebx
xor ebx, ebx
cmp eax, ebx
jne 0x439689
mov ecx, edi
call fcn.0049a354
cmp eax, ebx
je 0x439711
cmp dword [0x5d7898], ebx
je 0x4396ae
push 0x70
push eax
call esi
mov dword [0x5d4f28], eax
cmp eax, ebx
je 0x4396ae
push 0x438e05
push 0x5d4f28
call fcn.004f29dc
push 0x1bc
push edi
call fcn.004a52a4
pop ecx
pop ecx
mov dword [0x5d4f50], eax
cmp eax, ebx
je 0x439711
cmp dword [0x5d789c], ebx
jne 0x4396d4
cmp dword [0x5d78a0], ebx
je 0x4396e6
push 0x4367d1
mov esi, 0x5d4f50
push esi
call fcn.004f29dc
jmp 0x4396eb
mov esi, 0x5d4f50
cmp dword [0x5d78a4], ebx
je 0x4396fe
push 0x436808
push esi
call fcn.004f29dc
cmp dword [0x5d78a8], ebx
je 0x439711
push 0x436842
push esi
call fcn.004f29dc
call fcn.004f270f
jmp 0x43971f
mov dword [ebp - 4], 0xfffffffe
call fcn.00539935
ret