Function at 0x469a90
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x497660
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0f34]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x24]
xor ebp, ebp
mov word [esi + 0x70], bp
mov eax, dword [edi + 0x50]
mov word [esi + 0x6e], ax
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
add eax, dword [edi + 0x30]
sub eax, dword [esi + 0x68]
cmp word [esi + 0x72], bp
mov dword [esi + 0x78], eax
je 0x469d4d
movzx eax, word [esi + 0x6e]
mov edi, dword [esp + 0x3c]
cmp edi, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
je 0x469b1c
mov edx, dword [edi]
mov eax, dword [edx + 4]
push ebp
push ebp
mov ecx, edi
call eax
movzx eax, word [esi + 0x72]
mov edx, dword [edi]
mov edx, dword [edx + 8]
push eax
mov ecx, edi
call edx
mov eax, dword [0x4b0348]
mov dword [esp + 0x20], eax
movzx eax, word [esi + 0x72]
sub eax, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], eax
js 0x469c9a
test ebp, ebp
jl 0x469d48
cmp ebp, dword [esi + 0x34]
jge 0x469d48
mov ecx, dword [esi + 0x30]
mov edi, dword [ecx + ebp*4]
lea eax, [ecx + ebp*4]
call fcn.0047005a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x469cbb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
cmp byte [esi + 0x40], 0
mov dword [esp + 0x34], 0
je 0x469bc1
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.00461c60
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00463d40
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x34], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x469bbd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x14]
cmp byte [esi + 0x40], 1
mov eax, edi
jne 0x469be0
test edi, edi
jne 0x469bd0
mov eax, dword [esi + 0x20]
movzx ecx, byte [esi + 0x41]
push ecx
push 0
push eax
call fcn.004656c0
add esp, 0xc
mov edx, dword [esi + 0x24]
push edx
mov ecx, edi
call fcn.00461340
add dword [esi + 0x74], eax
cmp byte [esi + 0x40], 0
je 0x469bfc
push ebx
mov ecx, edi
call fcn.00461930
mov eax, dword [esi + 0x24]
movzx edx, word [esp + 0x1c]
mov ecx, dword [eax + 0x50]
cmp ecx, edx
je 0x469c28
test ebp, ebp
mov word [esi + 0x70], 1
mov eax, dword [eax + 0x50]
movzx ecx, ax
mov dword [esp + 0x1c], ecx
jne 0x469c2d
mov dword [esi + 0x78], ebp
mov word [esi + 0x6e], ax
jmp 0x469c2d
add word [esi + 0x70], 1
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x469c65
mov edi, dword [esp + 0x20]
mov eax, ebp
cdq
idiv edi
test ebp, ebp
mov eax, edx
jne 0x469c4b
mov eax, 1
jmp 0x469c59
test eax, eax
jne 0x469c53
mov eax, edi
jmp 0x469c59
cmp ebp, dword [esp + 0x24]
jne 0x469c65
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x10]
call eax
test al, al
je 0x469cc5
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x34], 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469c89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 1
cmp ebp, dword [esp + 0x24]
jle 0x469b31
mov edi, dword [esp + 0x3c]
test edi, edi
je 0x469ca7
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x469d4d
push eax
mov ecx, esi
call fcn.00468c50
push 0x80004005
call fcn.00401700
cmp byte [esp + 0x40], 0
je 0x469d13
mov ecx, dword [esi + 0x24]
cmp dword [ecx + 0x20], 0
je 0x469ce5
xor eax, eax
cmp byte [ecx + 0x4c], al
setne al
lea eax, [eax + eax - 1]
test eax, eax
jne 0x469cee
mov dword [ecx + 0x30], 0
jmp 0x469cf3
call fcn.00465ea0
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x78]
mov ecx, dword [ecx + 0x1c]
add eax, dword [esi + 0x68]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
push 0
push eax
call edx
mov dword [esp + 0x18], 0x6a
jmp 0x469d1b
mov dword [esp + 0x18], 0x69
lea eax, [ebx - 0x10]
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x469c96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x469c96
call fcn.004779d9
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8