Function at 0x42b310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x491cd1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4a8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
imul edi, edi, 0x19
add edi, dword [0x4a9220]
xor esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x4bc], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x4bc], 2
mov dword [esp + 0x40], esi
call fcn.004304f0
fstp qword [esp + 0x78]
mov eax, dword [0x4a9154]
test eax, eax
mov dword [esp + 0x34], eax
je 0x42b3a7
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x1028], ebx
je 0x42b3f4
mov eax, dword [eax + 0x103c]
test eax, eax
mov dword [esp + 0x34], eax
jne 0x42b38d
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4bc], 1
call fcn.00476730
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], 0
call fcn.00476730
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.00476730
xor eax, eax
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0xc], 0
jne 0x42b455
mov ecx, dword [eax + 0x105c]
cmp ecx, 3
je 0x42b455
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4bc], 1
call fcn.00476730
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], 0
call fcn.00476730
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.00476730
mov eax, 1
mov ecx, dword [esp + 0x4b4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [eax + 0x102c], 0xffffffff
mov dword [esp + 0x3c], 1
jne 0x42b48a
push 1
push ebx
call fcn.004052f0
mov edx, dword [esp + 0x3c]
mov dword [edx + 0x102c], eax
mov eax, edx
add esp, 8
cmp dword [eax + 0x102c], 0xffffffff
je 0x42bc28
push 0x10000
call fcn.00441a20
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x42b4a0
cmp esi, dword [esp + 0x44]
jb 0x42b55a
xor eax, eax
mov esi, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x58], 0x8000b300
mov ecx, dword [edi + 8]
push eax
mov dword [esp + 0x74], ecx
mov edx, dword [edi + 0xc]
mov dword [esp + 0x78], edx
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x50]
push eax
push 0x10000
mov dword [esp + 0x5c], ecx
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x44]
push ecx
mov dword [esp + 0x64], edx
mov eax, dword [esi + 0x102c]
push 0x28
lea edx, [esp + 0x64]
push edx
push 0x900bb
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42bb52
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov dword [edi + 0x10], edx
mov eax, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov edx, dword [esp + 0x4c]
lea eax, [edx + ecx]
lea esi, [ecx + 8]
cmp esi, eax
mov dword [esp + 0x44], eax
je 0x42bbb2
mov eax, dword [esi + 0x34]
add dword [esp + 0x40], 1
test al, 0x10
je 0x42b81b
test dword [esi + 0x28], 0x8000
je 0x42b680
test al, 2
je 0x42b5c0
cmp dword [0x4a9128], 0
je 0x42b5c0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
add esp, 0xc
test eax, eax
je 0x42b680
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0042aba0
add esp, 0x10
jmp 0x42b680
test al, 4
je 0x42b606
cmp dword [0x4a9150], 0
je 0x42b606
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
add esp, 0xc
test eax, eax
je 0x42b680
push eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0042aba0
add esp, 0x10
jmp 0x42b680
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42b680
movzx eax, word [esi + 0x38]
movzx ecx, word [esi + 0x3a]
shr eax, 1
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x88]
push 0x400
push edx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42b680
push 0
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x8c]
push edx
push eax
push ecx
lea edx, [ebx + 0x41]
push edx
push edi
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00422b80
add esp, 0x2c
mov eax, dword [esi + 0x28]
test eax, 0x200
je 0x42b6c7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 1
push 1
push 1
push 0
movzx edx, bl
push 0
push eax
add dl, 0x41
push ecx
lea eax, [esp + 0x48]
lea ecx, [esp + 0x38]
push edx
push 0
push eax
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.0042a550
mov edi, dword [esp + 0x78]
add esp, 0x30
add esi, dword [esi]
jmp 0x42b4a0
test eax, 0x2000
je 0x42b742
movzx eax, word [esi + 0x38]
movzx ecx, word [esi + 0x3a]
shr eax, 1
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x88]
push 0x400
push edx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42bb47
lea ecx, [esi + 0x20]
push ecx
mov ecx, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x88]
push edx
mov edx, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push ecx
movzx ecx, bl
push edx
add cl, 0x41
push eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x38]
push ecx
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.0042ac10
mov edi, dword [esp + 0x74]
add esp, 0x2c
add esi, dword [esi]
jmp 0x42b4a0
test eax, 0x100
je 0x42b7da
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
movzx ecx, bl
add cl, 0x41
push edx
push eax
push ecx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42bb47
movzx edx, word [esi + 0x38]
movzx eax, word [esi + 0x3a]
shr edx, 1
push edx
add eax, esi
push eax
lea ecx, [esp + 0x88]
push 0x400
push ecx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42bb47
mov ecx, dword [esi + 0xc]
push 0
lea edx, [esi + 0x20]
push edx
mov edx, dword [esi + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push ecx
push edx
lea eax, [ebx + 0x41]
push eax
push edi
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00422b80
mov edi, dword [esp + 0x74]
add esp, 0x2c
add esi, dword [esi]
jmp 0x42b4a0
cmp dword [0x4a9234], 0
je 0x42bb47
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push 0
lea ecx, [esi + 0x20]
push ecx
push edx
push eax
lea ecx, [ebx + 0x41]
push ecx
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0042e7f0
mov edi, dword [esp + 0x68]
add esp, 0x20
add esi, dword [esi]
jmp 0x42b4a0
test dword [esi + 0x28], 0x8000
je 0x42b99e
test al, 2
je 0x42b8b0
cmp dword [0x4a9128], 0
je 0x42b8b0
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
movzx ecx, bl
add cl, 0x41
push edx
push eax
push ecx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42b99e
movzx edx, word [esi + 0x38]
movzx eax, word [esi + 0x3a]
shr edx, 1
push edx
add eax, esi
push eax
lea ecx, [esp + 0x88]
push 0x400
push ecx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42b99e
push 1
push eax
lea edx, [esp + 0x88]
push edx
push edi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00423550
add esp, 0x1c
jmp 0x42b99e
test al, 4
je 0x42b931
cmp dword [0x4a9150], 0
je 0x42b931
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42b99e
movzx eax, word [esi + 0x38]
movzx ecx, word [esi + 0x3a]
shr eax, 1
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x88]
push 0x400
push edx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42b99e
push 1
push eax
lea eax, [esp + 0x88]
push eax
push edi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00423550
add esp, 0x1c
jmp 0x42b99e
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
movzx eax, bl
add al, 0x41
push ecx
push edx
push eax
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42b99e
movzx ecx, word [esi + 0x38]
movzx edx, word [esi + 0x3a]
shr ecx, 1
push ecx
add edx, esi
push edx
lea eax, [esp + 0x88]
push 0x400
push eax
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42b99e
push 0
lea ecx, [esi + 0x20]
push ecx
push eax
lea edx, [esp + 0x8c]
push edx
push edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00423140
add esp, 0x20
mov eax, dword [esi + 0x28]
test eax, 0x1200
jne 0x42badd
test eax, 0x2100
jne 0x42ba37
cmp dword [0x4a9234], 0
je 0x42bb47
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42bb47
movzx eax, word [esi + 0x38]
movzx ecx, word [esi + 0x3a]
shr eax, 1
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x88]
push 0x400
push edx
call fcn.00474a40
push 0
lea ecx, [esi + 0x20]
push ecx
push eax
lea edx, [esp + 0x9c]
push edx
push edi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x50]
push edx
call fcn.0042e590
mov edi, dword [esp + 0x78]
add esp, 0x30
add esi, dword [esi]
jmp 0x42b4a0
mov eax, dword [esi + 0x34]
test al, 2
je 0x42ba4b
cmp dword [0x4a9128], 0
jne 0x42bb47
test al, 4
je 0x42ba5c
cmp dword [0x4a9150], 0
jne 0x42bb47
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42bb47
movzx eax, word [esi + 0x38]
movzx ecx, word [esi + 0x3a]
shr eax, 1
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x88]
push 0x400
push edx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42bb47
push 0
lea ecx, [esi + 0x20]
push ecx
push eax
lea edx, [esp + 0x8c]
push edx
push edi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00423140
mov edi, dword [esp + 0x68]
add esp, 0x20
add esi, dword [esi]
jmp 0x42b4a0
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movzx edx, bl
add dl, 0x41
push eax
push ecx
push edx
call fcn.00405ea0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x42bb47
movzx eax, word [esi + 0x38]
movzx ecx, word [esi + 0x3a]
shr eax, 1
push eax
add ecx, esi
push ecx
lea edx, [esp + 0x88]
push 0x400
push edx
call fcn.00474a40
add esp, 0x10
cmp eax, 0xff
jg 0x42bb47
push 1
push eax
lea eax, [esp + 0x88]
push eax
push edi
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00423550
add esp, 0x1c
add esi, dword [esi]
mov edi, dword [esp + 0x48]
jmp 0x42b4a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x49a
jb 0x42bb91
cmp eax, 0x49b
jbe 0x42bb6d
cmp eax, 0x49d
jne 0x42bb91
mov ecx, dword [esi + 0x102c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x102c], 0xffffffff
mov dword [esp + 0x3c], 0
jmp 0x42bc1b
mov edx, dword [esi + 0x102c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x102c], 0xffffffff
mov dword [esp + 0x3c], 1
jmp 0x42bc1b
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x42bc1f
mov esi, dword [0x4a9218]
cmp esi, edi
je 0x42bbf9
cmp dword [esi + 0x188], edi
je 0x42bbef
mov eax, dword [esi + 0xa8]
cmp eax, edi
je 0x42bbe9
mov ecx, dword [esi + 0xac]
push ecx
push eax
call fcn.00435900
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [esi + 0x188], edi
mov esi, dword [esi + 0x174]
cmp esi, edi
jne 0x42bbc3
mov edx, dword [esp + 0x34]
mov dword [edx + 0x105c], 1
cmp dword [0x4a914c], edi
je 0x42bc1f
mov eax, dword [0x4a912c]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00441a60
add esp, 4
call fcn.004304f0
fsub qword [esp + 0x78]
mov ecx, dword [esp + 0x40]
sub esp, 8
fstp qword [esp]
push ecx
push str._d_updates_in__f_seconds_n
push 0xff0000ff
call fcn.00430400
add esp, 0x14
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4bc], 1
call fcn.00476730
lea ecx, [esp + 0x24]
mov byte [esp + 0x4bc], 0
call fcn.00476730
lea ecx, [esp + 0x1c]
mov dword [esp + 0x4bc], 0xffffffff
call fcn.00476730
mov ecx, dword [esp + 0x4b4]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret