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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b04dd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push ebx
push esi
push edi
push 0
push 0
push 1
push 0
mov edi, ecx
mov dword [esp + 0x3c], 0
mov byte [esp + 0x44], 1
mov dword [esp + 0x4c], 0xbb8
mov dword [esp + 0x38], vtable.g65ddc_device_hw_net_udp::request_signaled_32_.0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x30], 0x20
mov dword [esp + 0xa4], 0
lea eax, [edi + 0x10550]
cmp dword [edi + 0x370], 1
je 0x10028095
lea eax, [edi + 0x10548]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [esp + 0xc], eax
cmp dword [eax], ecx
jne 0x100280ac
cmp dword [eax + 4], esi
je 0x100282ea
push 0x100da820
push 0x52c
call fcn.1009c33f
add esp, 8
mov dword [esp + 0x10], eax
mov byte [esp + 0xa4], 1
test eax, eax
je 0x100280f0
push 0x10027290
push 0x10027090
push 1
lea ebx, [eax + 4]
mov dword [eax], 1
push 0x528
push ebx
call fcn.1009c707
jmp 0x100280f2
xor ebx, ebx
mov byte [esp + 0xa4], 0
test ebx, ebx
jne 0x10028106
lea esi, [ebx + 0xe]
jmp 0x100283ae
mov eax, dword [ebx + 0x18]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp + 0xc]
cmp dword [edi + 0x370], 1
mov dword [esp + 0x52], eax
mov eax, dword [ebp + 0x10]
sete byte [esp + 0x56]
mov dword [esp + 0x4a], eax
lea eax, [esp + 0x28]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x50], 8
mov dword [esp + 0x56], esi
mov dword [esp + 0x38], 0xf
call fcn.10029460
push 0xffffffffffffffff
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x1002827b
mov eax, 0x500
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [ebp + 0xc], esi
je 0x10028249
nop
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
call eax
imul ecx, eax, 0x528
add ecx, ebx
mov dword [esp + 0x24], ecx
mov esi, dword [ecx + 0x1c]
test esi, esi
jne 0x1002826a
mov eax, dword [ecx]
call dword [eax]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov dword [ecx + 2], esi
mov esi, dword [esp + 0x1c]
mov byte [ecx], 9
cmp eax, esi
jb 0x100281dc
push esi
push dword [ebp + 8]
add ecx, 6
push ecx
call fcn.100a8ab0
sub dword [ebp + 0xc], esi
add esp, 0xc
add dword [ebp + 8], esi
mov esi, 5
jmp 0x10028213
add eax, 0xff
lea esi, [ecx + 6]
and eax, 0xffffff00
push eax
push 0
push esi
mov dword [esp + 0x28], eax
call fcn.100a1230
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call fcn.100a8ab0
mov esi, dword [esp + 0x34]
add esp, 0x18
mov dword [ebp + 0xc], 0
shr esi, 8
mov ecx, dword [esp + 0x24]
mov eax, esi
mov edx, dword [esp + 0x20]
shl eax, 8
add eax, 6
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x10]
push ecx
push ecx
mov ecx, edi
mov dword [eax + 2], edx
call fcn.10029460
add dword [esp + 0x20], esi
cmp dword [ebp + 0xc], 0
mov eax, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
jne 0x10028180
push 0xffffffffffffffff
push 1
lea ecx, [esp + 0x20]
push ecx
push 1
call eax
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x100282a0
mov eax, dword [ebx]
mov ecx, ebx
push 3
call dword [eax + 0x18]
jmp 0x100282a9
push 0xffffffffffffffff
push 1
lea eax, [esp + 0x20]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp dword [ebx - 4], 0
lea eax, [ebx - 4]
je 0x10028292
mov eax, dword [ebx]
mov ecx, ebx
push 3
call dword [eax + 0x18]
jmp 0x100283ae
push eax
call fcn.1009c380
add esp, 4
jmp 0x100283ae
push eax
call fcn.1009c380
add esp, 4
push ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x34], 2
push eax
mov ecx, edi
mov byte [esp + 0x50], 0xa
call fcn.10029460
push 0xffffffffffffffff
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x100283ae
mov eax, dword [esp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x14]
mov dword [eax + 4], ecx
lea esi, [edi + 0x10564]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0x10558], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0x370], 1
lea eax, [esp + 0x28]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x50], 0xb
sete byte [esp + 0x52]
mov dword [esp + 0x38], 3
mov dword [esp + 0x44], 0x1770
call fcn.10029460
push 0xffffffffffffffff
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x44]
mov byte [edi + 0x10558], 1
test esi, esi
jne 0x100283ae
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 2
push ecx
mov ecx, edi
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0xcd800004
mov dword [esp + 0x1c], 1
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x100283ae
xor ebx, ebx
lea esp, [esp]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, edi
call fcn.10026cb0
mov esi, eax
test esi, esi
jne 0x100283ae
mov eax, dword [esp + 0xc]
test al, 2
jne 0x100283d9
inc ebx
cmp ebx, 0x14
jl 0x10028380
mov esi, 0x45d
push dword [esp + 0x40]
mov dword [esp + 0x2c], vtable.g65ddc_device_hw_net_udp::request_signaled_32_.0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x9c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test al, 4
je 0x100283a9
mov eax, dword [edi]
lea ecx, [esp + 0x68]
push 0xc
push ecx
mov ecx, edi
mov dword [esp + 0x70], 0xcd800005
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0xcd800006
mov dword [esp + 0x7c], 0x1000
mov dword [esp + 0x80], 0xcd800007
mov dword [esp + 0x84], 0x1000
mov dword [esp + 0x88], 0xcd800008
mov dword [esp + 0x8c], 0x4000
mov dword [esp + 0x90], 0xcd800009
mov dword [esp + 0x94], 0x5000
mov dword [esp + 0x98], 0xcd80000a
mov dword [esp + 0x9c], 0x800
call dword [eax + 0x44]
mov esi, eax
test esi, esi
jne 0x100283ae
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push 2
push ecx
mov ecx, edi
mov dword [esp + 0x18], 0xcd800004
mov dword [esp + 0x1c], 0x1110001
call dword [eax + 0x44]
mov esi, eax
jmp 0x100283ae