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

Disassembly:
push 0xffffffffffffffff
push 0x10186767
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x101cd7b4]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cd7b4]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x26c]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0x23bc], eax
mov eax, dword [ebp + 0x2503]
lea ecx, [ebp + 0x3178]
push eax
call fcn.100419b0
lea ebx, [ebp + 0x23a0]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov cl, byte [ebp + 0x23b8]
push ebx
mov byte [esp + 0x19], cl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
cmp byte [esp + 0x15], 0
je 0x10090b80
xor al, al
jmp 0x1009160b
cmp byte [ebp + 0x3315], 0
je 0x10090b79
mov ebx, dword [esp + 0x270]
mov eax, ebx
and eax, 1
mov dword [esp + 0x24], eax
jne 0x10090ba0
test bl, 2
je 0x10090b79
mov edx, dword [esi]
mov dword [ebp + 0x224a], edx
mov eax, dword [esi + 4]
mov dword [ebp + 0x224e], eax
mov ecx, dword [esi + 8]
mov dword [ebp + 0x2252], ecx
mov edx, dword [esi + 0xc]
mov dword [ebp + 0x2256], edx
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x225a], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp + 0x225e], ecx
call fcn.100f02ac
mov ecx, eax
call fcn.100f0039
cmp byte [ebp + 0x2420], 2
mov dword [ebp + 0x22ac], eax
mov dword [ebp + 0x22b0], ebx
mov byte [ebp + 0x337c], 0
je 0x10090d48
cmp dword [ebp + 0x52], edi
je 0x10090c23
mov dl, byte [ebp + 0x2249]
test dl, dl
jne 0x10090c23
mov ecx, dword [ebp + 0x52]
mov edx, dword [ebp + 0x2426]
mov eax, dword [ecx]
mov eax, dword [eax]
push edi
push edx
push 0x40
call eax
lea ecx, [esp + 0xb4]
push ecx
mov ecx, ebp
call fcn.10089770
push 1
push 0xffffffffffffffff
push 0x1019a068
mov ecx, eax
call fcn.10029e70
lea ecx, [esp + 0xb4]
mov ebx, eax
call fcn.10089160
mov dword [esp + 0x21c], 0xf
mov dword [esp + 0x218], edi
mov byte [esp + 0x208], 0
cmp ebx, 0xffffffff
mov dword [esp + 0x264], edi
mov ecx, ebp
je 0x10090ccf
lea edx, [esp + 0xec]
push edx
call fcn.10089770
push 0xffffffffffffffff
add ebx, 1
push ebx
lea ecx, [esp + 0x12c]
push ecx
mov ecx, eax
mov byte [esp + 0x270], 1
call fcn.1002a800
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x210]
mov byte [esp + 0x270], 2
call fcn.10005470
lea ecx, [esp + 0x124]
call fcn.10089160
lea ecx, [esp + 0xec]
jmp 0x10090cfb
lea edx, [esp + 0x15c]
push edx
call fcn.10089770
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x210]
mov byte [esp + 0x270], 3
call fcn.10005470
lea ecx, [esp + 0x15c]
mov byte [esp + 0x264], 0
call fcn.10089160
mov eax, dword [esp + 0x208]
mov ebx, 0x10
cmp dword [esp + 0x21c], ebx
jae 0x10090d24
lea eax, [esp + 0x208]
push edi
push eax
push 0x4b
mov ecx, ebp
call fcn.100881a0
lea ecx, [esp + 0x204]
mov dword [esp + 0x264], 0xffffffff
call fcn.10089160
jmp 0x10090d4d
mov ebx, 0x10
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
je 0x10090d6a
movzx eax, byte [ebp + 0x33a8]
push eax
call fcn.10060910
mov ecx, dword [ebp + 0xc]
push esi
call fcn.10060390
cmp byte [ebp + 0x2420], 2
jne 0x10091499
movzx eax, word [ebp + 0x2548]
cmp ax, 0x64
jne 0x100910bd
lea ecx, [esp + 0x98]
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call fcn.10089800
cmp dword [eax + 0x18], ebx
mov dword [esp + 0x264], 4
jb 0x10090db4
mov eax, dword [eax + 4]
jmp 0x10090db7
add eax, 4
lea edx, [esp + 0x18]
push edx
push eax
call fcn.100299b0
add esp, 8
lea ecx, [esp + 0x98]
mov dword [esp + 0x264], 0xffffffff
call fcn.10089160
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov eax, esi
or eax, ebx
je 0x10090b79
lea ecx, [ebp + 0x2370]
call fcn.10001360
test al, al
jne 0x10090b79
lea ecx, [esp + 0xd0]
push ecx
mov ecx, ebp
mov dword [ebp + 0x1d70], 0
call fcn.10089800
push eax
lea edx, [esp + 0x240]
push edx
mov dword [esp + 0x26c], 5
call fcn.100ed818
add esp, 8
lea ecx, [esp + 0xd0]
call fcn.10089160
lea eax, [ebp + 0x1d28]
push eax
lea ecx, [esp + 0x34]
call fcn.10001700
mov ecx, dword [ebp + 0x2730]
mov byte [esp + 0x264], 8
call fcn.1013514b
lea ecx, [esp + 0x108]
push ecx
mov ecx, ebp
call fcn.10089800
mov edi, eax
push 1
push ebx
push esi
mov byte [esp + 0x270], 9
call fcn.100f8ec2
mov ecx, dword [ebp + 0x2730]
add esp, 8
push eax
push ebx
push esi
lea edx, [esp + 0x24c]
push edx
push edi
call fcn.10137d6c
lea ecx, [esp + 0x108]
mov byte [esp + 0x15], al
mov byte [esp + 0x264], 8
call fcn.10089160
cmp byte [esp + 0x15], 0
je 0x10090fba
cmp dword [ebp + 0x2ecc], 0
je 0x10090f1d
push ebx
push esi
call fcn.100f8ec2
mov ecx, dword [ebp + 0x2ecc]
add esp, 8
shl eax, 0xa
push eax
push ebx
push esi
lea eax, [ebp + 0x2370]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100dacd0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0x2730]
mov byte [esp + 0x268], 0xa
call fcn.101355ce
lea ecx, [esp + 0x40]
mov byte [esp + 0x264], 8
call fcn.1013ddef
mov ecx, dword [ebp + 0x2730]
call fcn.10135401
test al, al
je 0x10090f37
mov ecx, dword [ebp + 0x2730]
call fcn.10135401
mov ecx, dword [ebp + 0x2730]
lea edx, [esp + 0x1cd]
push edx
call fcn.10134eb3
mov edx, dword [ebp + 0x2378]
mov esi, eax
mov eax, dword [ebp + 0x2370]
lea edi, [ebp + 0x1d75]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2374]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x1d98], eax
mov eax, dword [ebp + 0x237c]
mov dword [ebp + 0x1d9c], ecx
mov ecx, dword [ebp + 0x2380]
mov dword [ebp + 0x1da0], edx
mov dword [ebp + 0x1da4], eax
mov dword [ebp + 0x1da8], ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [ebp + 0x1e50]
mov byte [ebp + 0x26d4], 1
call fcn.10032990
mov esi, dword [esp + 0x18]
mov byte [esp + 0x15], 1
jmp 0x10090fbf
mov byte [esp + 0x15], 0
lea ecx, [esp + 0x30]
call fcn.10001720
lea ecx, [esp + 0x23c]
mov dword [esp + 0x264], 0xffffffff
call fcn.10089160
cmp byte [esp + 0x15], 0
je 0x10090b79
lea eax, [esp + 0x16]
push eax
lea ecx, [ebp + 0x21dc]
mov byte [ebp + 0x1e18], 1
mov byte [esp + 0x1a], 1
call fcn.100352b0
or dword [ebp + 0x22b0], 2
test ebx, ebx
mov byte [esp + 0x18], 0
jl 0x10091043
jg 0x1009101c
test esi, esi
jbe 0x10091043
mov ecx, dword [ebp + 0x2730]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push 0
call eax
push 0
push 0x64
push edx
push eax
call fcn.1015a7a0
push ebx
push esi
push edx
push eax
call fcn.1015bb60
mov byte [esp + 0x18], al
mov eax, dword [ebp + 0x2426]
mov ecx, dword [ebp + 0x1e84]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push eax
push ebx
push esi
lea edi, [ebp + 0x2370]
push edi
lea eax, [ebp + 0x242a]
push eax
call edx
test al, al
push 1
jne 0x10091092
push 0x7530
push 3
push 0
mov ecx, ebp
call fcn.10086ec0
mov ecx, ebp
call fcn.10088440
jmp 0x1009159f
lea ecx, [ebp + 0x3178]
call fcn.10041ad0
mov ecx, dword [ebp + 0xc]
push 1
lea eax, [ebp + 0x2360]
push eax
push edi
push ebx
push esi
call fcn.100699f0
mov ecx, ebp
call fcn.10088440
jmp 0x1009159f
jae 0x10091499
lea ecx, [esp + 0x140]
push ecx
mov ecx, ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.10089800
cmp dword [eax + 0x18], ebx
mov dword [esp + 0x264], 0xb
jb 0x100910ef
mov eax, dword [eax + 4]
jmp 0x100910f2
add eax, 4
lea edx, [esp + 0x28]
push edx
push eax
call fcn.100299b0
add esp, 8
lea ecx, [esp + 0x140]
mov dword [esp + 0x264], 0xffffffff
call fcn.10089160
cmp byte [ebp + 0x2560], 1
je 0x1009112e
mov eax, dword [ebp + 0x250f]
mov edx, dword [ebp + 0x2513]
jmp 0x10091135
mov ecx, ebp
call fcn.10087b80
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov ebx, esi
or ebx, ecx
je 0x10090b79
cmp ecx, edx
jl 0x10090b79
jg 0x10091159
cmp esi, eax
jbe 0x10090b79
lea ecx, [ebp + 0x2370]
call fcn.10001360
test al, al
jne 0x10090b79
lea eax, [esp + 0x178]
push eax
mov ecx, ebp
mov dword [ebp + 0x1d70], edi
call fcn.10089800
push eax
lea ecx, [esp + 0x224]
push ecx
mov dword [esp + 0x26c], 0xc
call fcn.100ed818
add esp, 8
lea ecx, [esp + 0x178]
call fcn.10089160
lea edx, [ebp + 0x1d28]
push edx
lea ecx, [esp + 0x3c]
call fcn.10001700
mov ecx, dword [ebp + 0x2730]
mov byte [esp + 0x264], 0xf
call fcn.1013514b
cmp byte [ebp + 0x2560], 1
jne 0x10091224
mov eax, dword [ebp + 0x2513]
mov ecx, dword [ebp + 0x250f]
lea ebx, [ebp + 0x250f]
push 1
push eax
push ecx
lea esi, [ebp + 0x2517]
push esi
call fcn.100ecef1
mov ecx, dword [ebp + 0x2730]
push eax
call fcn.101379bf
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x40], esp
push edx
mov ecx, esi
mov byte [esp + 0x35], al
call fcn.10012070
mov ecx, 0x101cef04
call fcn.10004be0
jmp 0x10091289
lea eax, [esp + 0x7c]
push eax
mov ecx, ebp
call fcn.10089800
mov esi, eax
mov ecx, dword [ebp + 0x2513]
mov edx, dword [ebp + 0x250f]
lea ebx, [ebp + 0x250f]
push 1
push ecx
push edx
mov byte [esp + 0x270], 0x10
call fcn.100f8ec2
mov ecx, dword [ebx]
add esp, 8
push eax
mov eax, dword [ebx + 4]
push eax
push ecx
mov ecx, dword [ebp + 0x2730]
lea edx, [esp + 0x230]
push edx
push esi
call fcn.10137d6c
lea ecx, [esp + 0x7c]
mov byte [esp + 0x15], al
mov byte [esp + 0x264], 0xf
call fcn.10089160
cmp byte [esp + 0x15], 0
je 0x1009138c
cmp dword [ebp + 0x2ecc], 0
je 0x100912f7
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push eax
push ecx
call fcn.100f8ec2
mov edx, dword [ebx + 4]
add esp, 8
shl eax, 0xa
push eax
mov eax, dword [ebx]
push edx
push eax
lea eax, [ebp + 0x2370]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [ebp + 0x2ecc]
call fcn.100dacd0
mov ecx, dword [ebp + 0x2730]
lea edx, [esp + 0x50]
push edx
mov byte [esp + 0x268], 0x11
call fcn.101355ce
lea ecx, [esp + 0x50]
mov byte [esp + 0x264], 0xf
call fcn.1013ddef
mov ecx, dword [ebp + 0x2730]
call fcn.10135401
test al, al
je 0x10091311
mov ecx, dword [ebp + 0x2730]
call fcn.10135401
mov ecx, dword [ebp + 0x2730]
lea eax, [esp + 0x196]
push eax
call fcn.10134eb3
mov edx, dword [ebp + 0x2374]
mov esi, eax
mov eax, dword [ebp + 0x2378]
lea edi, [ebp + 0x1d75]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x2370]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x1d98], ecx
mov ecx, dword [ebp + 0x237c]
mov dword [ebp + 0x1d9c], edx
mov edx, dword [ebp + 0x2380]
mov dword [ebp + 0x1da0], eax
mov dword [ebp + 0x1da4], ecx
mov dword [ebp + 0x1da8], edx
push ebx
lea ecx, [ebp + 0x1e50]
mov byte [ebp + 0x26d4], 1
call fcn.10032990
mov byte [esp + 0x15], 1
jmp 0x10091391
mov byte [esp + 0x15], 0
lea ecx, [esp + 0x38]
call fcn.10001720
lea ecx, [esp + 0x220]
mov dword [esp + 0x264], 0xffffffff
call fcn.10089160
cmp byte [esp + 0x15], 0
je 0x10090b79
lea eax, [esp + 0x23]
push eax
lea ecx, [ebp + 0x21dc]
mov byte [ebp + 0x1e18], 0
mov byte [esp + 0x27], 1
call fcn.100352b0
mov esi, dword [ebx + 4]
or dword [ebp + 0x22b0], 2
test esi, esi
mov edi, dword [ebx]
mov byte [esp + 0x18], 0
jl 0x1009141a
jg 0x100913f3
test edi, edi
jbe 0x1009141a
mov ecx, dword [ebp + 0x2730]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push 0
call eax
push 0
push 0x64
push edx
push eax
call fcn.1015a7a0
push esi
push edi
push edx
push eax
call fcn.1015bb60
mov byte [esp + 0x18], al
mov eax, dword [ebp + 0x2426]
mov ecx, dword [ebp + 0x1e84]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x1c]
push 0
push 0
push eax
push esi
push edi
lea esi, [ebp + 0x2370]
push esi
lea eax, [ebp + 0x242a]
push eax
call edx
test al, al
push 1
jne 0x10091469
push 0x7530
push 3
push 0
mov ecx, ebp
call fcn.10086ec0
mov ecx, ebp
call fcn.10088440
jmp 0x1009159f
lea ecx, [ebp + 0x3178]
call fcn.10041ad0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
push 1
lea eax, [ebp + 0x2360]
push eax
push esi
push ecx
mov ecx, dword [ebp + 0xc]
push edx
call fcn.100699f0
mov ecx, ebp
call fcn.10088440
jmp 0x1009159f
mov eax, dword [ebp + 0x2268]
cmp eax, 0xffffffff
lea edi, [ebp + 0x2268]
je 0x100914b8
test eax, eax
je 0x100914b8
cmp word [ebp + 0x226c], 0
jne 0x100914bf
mov byte [ebp + 0x24a6], 1
mov al, byte [ebp + 0x1e18]
test al, al
jne 0x100914dc
cmp byte [ebp + 0x24a6], al
jne 0x100914dc
cmp dword [esp + 0x24], 0
je 0x100914dc
mov bl, 1
jmp 0x100914de
xor bl, bl
mov ecx, dword [ebp + 0x272c]
mov byte [esp + 0x18], bl
call fcn.10036960
push eax
mov ecx, ebp
call fcn.1008fd80
test bl, bl
sete cl
lea esi, [ebp + 0x3178]
mov byte [esp + 0x24], al
push ecx
mov ecx, esi
call fcn.100419d0
mov ecx, esi
call fcn.100419e0
mov esi, dword [esp + 0x18]
push esi
lea ecx, [ebp + 0x3178]
call fcn.100419f0
mov edx, dword [ebp + 0x2552]
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x2503]
push edx
push ebp
push eax
push esi
push ecx
mov ecx, dword [ebp + 0x272c]
push 1
call fcn.10036960
mov ecx, dword [ebp + 0x26dc]
push eax
push edi
call fcn.100d3d90
test bl, bl
je 0x10091568
push 0
push 0x3e8
push 0xe
push 0
mov ecx, ebp
call fcn.10086ec0
cmp byte [esp + 0x24], 0
je 0x10091598
push 1
push 0x7d0
push 8
push 0
mov ecx, ebp
call fcn.10086ec0
lea edx, [esp + 0x17]
push edx
lea ecx, [ebp + 0x3054]
mov byte [esp + 0x1b], 1
call fcn.100352b0
jmp 0x1009159f
mov byte [ebp + 0x26e7], 1
cmp byte [ebp + 0x2420], 2
je 0x100915d5
cmp word [ebp + 0xba5], 0
je 0x100915d5
mov eax, dword [ebp + 0x3274]
cmp eax, 4
jae 0x100915d5
mov eax, dword [eax*4 + 0x101cc2bc]
push 1
push eax
push 0x703
push 0
mov ecx, ebp
call fcn.10086ec0
push 0
call fcn.1015972a
add esp, 4
lea ecx, [esp + 0x60]
push ecx
lea ecx, [ebp + 0x2517]
mov dword [ebp + 0x2738], eax
call fcn.10012070
cmp dword [esp + 0x78], 0x10
jb 0x10091609
mov edx, dword [esp + 0x64]
push edx
call fcn.10159534
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.10159cce
add esp, 0x254
ret 8