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

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov esi, ebx
mov eax, ebp
call fcn.00469520
test eax, eax
je 0x4695c6
mov ecx, 0x200
test word [eax + 0x1a4], cx
je 0x4695b0
mov edx, 0x201
mov word [eax + 0x1a4], dx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, 1
mov word [eax + 0x1a4], cx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp word [ebx], 0x7b
jne 0x4695d2
cmp dword [ebx + 4], 0
jne 0x4695dd
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [0x69f300]
push edx
call fcn.005c052e
mov edi, eax
add esp, 4
test edi, edi
je 0x4695d2
push 1
push 0x69f39c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push 0x1c0
push 0
push edi
call fcn.005bfd50
add esp, 0xc
lea esi, [edi + 0x190]
call fcn.00464e60
cmp word [ebx], 0x7b
jne 0x469636
mov eax, dword [ebx]
mov dword [edi + 0x74], eax
mov ecx, dword [ebx + 4]
mov dword [edi + 0x78], ecx
mov dx, word [ebp + 0x578]
mov word [edi + 0x76], dx
mov eax, dword [ebp + 0x2b8]
push 0
push ebx
call fcn.0047abd0
add esp, 8
neg eax
sbb eax, eax
neg eax
mov byte [edi + 0x1b5], al
mov ecx, 8
test al, al
je 0x469685
cmp dword [esp + 0x28], 0
jne 0x469669
cmp dword [esp + 0x2c], ecx
jne 0x469685
mov byte [ebp + 0x4c3], 1
mov byte [ebp + 0x4c4], 1
mov byte [ebp + 0x4c5], 0
mov byte [ebp + 0x4c6], 1
mov ax, word [ebp + 0x484]
mov word [edi + 0x1a6], ax
mov dx, word [ebp + 0x486]
mov word [edi + 0x1a8], dx
cmp dword [esp + 0x2c], ecx
jne 0x4696b5
mov eax, 1
mov word [edi + 0x1a4], ax
jmp 0x4696c1
mov ecx, 0x201
mov word [edi + 0x1a4], cx
mov dx, word [esp + 0x24]
mov byte [edi + 0x1bd], 1
mov dword [edi + 0xc0], 0
mov byte [edi + 0x1ba], 0
mov ecx, 1
add dword [ebp + 0x394], ecx
mov dword [edi + 0x150], ecx
mov eax, dword [ebp + 0x2f4]
dec eax
mov dword [edi + 0x9c], eax
mov dword [edi + 0xa0], eax
mov word [edi + 0x1ac], dx
mov al, byte [ebp + 0x4b0]
mov byte [edi + 0x18c], al
mov edx, dword [ebp + 0x4e8]
and edx, 4
mov dword [esp + 0x10], edx
lea eax, [ecx - 1]
je 0x469735
test eax, eax
jne 0x469735
or word [edi + 0x1a4], 4
jmp 0x469741
mov eax, 0xfffb
and word [edi + 0x1a4], ax
mov edx, dword [ebp + 0x4e8]
and edx, ecx
mov dword [esp + 0x10], edx
mov eax, 0
je 0x469762
test eax, eax
jne 0x469762
or word [edi + 0x1a4], 2
jmp 0x46976e
mov eax, 0xfffd
and word [edi + 0x1a4], ax
mov ecx, dword [ebp + 0x3a8]
xor eax, eax
mov dword [edi + 0x1a0], ecx
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], eax
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], eax
mov dword [edi + 0xd8], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], eax
lea esi, [edi + 0x70]
mov dword [edi + 0x50], eax
call fcn.00465ed0
cmp dword [edi + 0x94], 0
mov byte [edi + 0x1b3], 0
jne 0x46980e
mov eax, dword [ebp + 0x46c]
test eax, eax
jbe 0x4697fe
cmp word [edi + 0x74], 0x7b
mov dword [edi + 0x94], eax
jne 0x46980e
add eax, 0xc
mov dword [edi + 0x94], eax
jmp 0x46980e
cmp word [ebx], 0x7b
jne 0x46980e
mov dword [edi + 0x94], 0x500
cmp dword [esp + 0x2c], 1
jne 0x469821
mov edx, dword [edi + 0x94]
mov dword [ebp + 0x2e8], edx
mov eax, dword [edi + 0x94]
cmp dword [ebp + 0x2e8], eax
jbe 0x46983a
push eax
mov ecx, ebp
call fcn.0046dbc0
add esp, 4
mov eax, dword [ebp + 0x248]
test eax, eax
je 0x46984b
push edi
push ebp
call eax
add esp, 8
mov ecx, dword [edi + 0x70]
lea esi, [ebp + 0x1c4]
mov byte [edi + 0x1b6], 1
mov byte [edi + 0x1b7], 1
mov eax, dword [esi]
test ecx, ecx
jne 0x469886
mov dword [edi], ecx
mov eax, dword [ebp + 0x1c8]
mov dword [edi + 4], eax
mov ecx, dword [ebp + 0x1c8]
mov dword [ecx], edi
mov dword [ebp + 0x1c8], edi
jmp 0x46992e
test eax, eax
jne 0x46989c
mov dword [edi], eax
mov dword [ebp + 0x1c8], edi
mov dword [esi], edi
mov dword [edi + 4], esi
jmp 0x46992e
mov edx, dword [eax + 0x70]
test edx, edx
jne 0x4698b5
mov dword [edi], eax
test eax, eax
je 0x46988c
mov eax, dword [esi]
mov dword [eax + 4], edi
mov dword [esi], edi
mov dword [edi + 4], esi
jmp 0x46992e
mov ebx, dword [ecx]
cmp ebx, dword [edx]
je 0x4698d0
mov dword [edi], eax
test eax, eax
je 0x46988c
mov ecx, dword [esi]
mov dword [ecx + 4], edi
mov dword [esi], edi
mov dword [edi + 4], esi
jmp 0x46992e
mov ecx, dword [eax]
test ecx, ecx
je 0x4698e5
mov edx, dword [ecx + 0x70]
test edx, edx
je 0x469904
cmp dword [edx], ebx
jne 0x469916
mov eax, ecx
jmp 0x4698d0
mov dword [edi], 0
mov edx, dword [ebp + 0x1c8]
mov dword [edi + 4], edx
mov eax, dword [ebp + 0x1c8]
mov dword [eax], edi
mov dword [ebp + 0x1c8], edi
jmp 0x46992e
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
mov dword [edi], eax
mov edx, dword [eax + 4]
mov dword [edx], edi
mov dword [eax + 4], edi
jmp 0x46992e
mov eax, dword [ecx]
mov dword [edi], eax
test eax, eax
je 0x469923
mov dword [eax + 4], edi
jmp 0x469929
mov dword [ebp + 0x1c8], edi
mov dword [ecx], edi
mov dword [edi + 4], ecx
mov eax, dword [ebp + 0x224]
test eax, eax
je 0x469952
cmp dword [eax + 0x70], 0
jne 0x469958
cmp dword [edi + 0x70], 0
je 0x469958
mov eax, 0x200
test word [edi + 0x1a4], ax
jne 0x469958
mov dword [ebp + 0x224], edi
mov eax, dword [ebp + 0x224]
cmp dword [esi], eax
je 0x4699b8
test eax, eax
je 0x4699b8
cmp dword [eax], 0
je 0x469975
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
jmp 0x46997e
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c8], eax
mov eax, dword [ebp + 0x224]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [ebp + 0x224]
mov ecx, dword [esi]
mov dword [eax], ecx
mov eax, dword [ebp + 0x224]
cmp dword [eax], 0
je 0x4699a7
mov edx, dword [esi]
mov dword [edx + 4], eax
jmp 0x4699ad
mov dword [ebp + 0x1c8], eax
mov ebp, dword [ebp + 0x224]
mov dword [esi], ebp
mov dword [ebp + 4], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret