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

Disassembly:
sub esp, 0xb4
mov eax, dword [0x101be8d0]
xor eax, esp
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0xbc]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc8]
mov ebp, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x10], 0
movzx edx, word [ebp + 0x122]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], ebp
mov byte [esp + 0x17], 0
mov byte [esp + 0x1f], 0
cmp eax, edx
jbe 0x100903b2
mov word [ebp + 0x122], ax
test byte [edi + 0x10], 1
mov dword [edi + 0x14], ecx
jne 0x100903cd
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], edx
jmp 0x100903d6
mov eax, 0x10000
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x80]
cmp dword [eax + 0x34], 0
je 0x1009048a
mov eax, dword [eax + 0x34]
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea esi, [esp + 0x84]
push esi
push ecx
mov ecx, dword [edx]
push eax
call ecx
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090e16
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
push ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
push edx
lea eax, [esp + 0x98]
lea esi, [edi + 0x1c]
push eax
mov byte [esp + 0x2b], 1
xor ebx, ebx
mov dword [esi], ecx
call fcn.1004e9c0
lea ecx, [esp + 0x9c]
mov dword [edi + 0x18], ecx
jmp 0x10090499
lea esi, [edi + 0x1c]
push esi
mov edx, ecx
push edx
push ebp
call fcn.1008f180
mov ebx, eax
mov eax, dword [esi]
add esp, 0xc
test eax, eax
jle 0x10090529
mov ecx, dword [ebp + 0x2b4]
test ecx, ecx
jne 0x100904c9
mov edx, dword [ebp + 0x80]
cmp dword [edx + 0x34], ecx
jne 0x100904c9
mov eax, 8
mov dword [esp + 0x10], eax
jmp 0x10090de8
push eax
mov eax, dword [esp + 0x1c]
add ecx, ebx
push ecx
mov ecx, dword [ebp + 0x208]
push eax
push edi
call ecx
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090de8
mov edx, dword [ebp + 0x210]
push edi
mov byte [esp + 0x1b], 1
call edx
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090dd8
mov eax, dword [esp + 0x18]
call fcn.10085a60
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090dd8
cmp byte [esp + 0xd4], al
jne 0x10090dd8
cmp dword [esi], 0
je 0x10090bb6
cmp word [edi + 0x20], 0
je 0x10090bb6
mov ecx, edi
call fcn.100861b0
mov eax, dword [esp + 0x18]
push eax
mov esi, edi
call fcn.10085b10
movzx eax, word [edi + 0x20]
add esp, 4
test ax, ax
jle 0x100905a0
mov ecx, dword [ebp + 0x214]
push edi
call ecx
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090dcd
mov edx, dword [ebp + 0x20c]
push edi
call edx
add esp, 4
call fcn.1008fe60
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090de8
mov eax, dword [esp + 0x20]
push eax
call fcn.1004cd60
jmp 0x10090de1
jge 0x10090dc9
mov ecx, dword [ebp + 0x64]
or edx, 0xffffffff
lea ebx, [edi + 0xcc]
mov eax, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xd0]
mov word [edi + 0x20], ax
test ebx, ebx
je 0x100905dc
mov eax, dword [ebx]
test eax, eax
je 0x100905dc
lea ecx, [ecx]
test ecx, ecx
je 0x1009060e
mov eax, dword [eax + 4]
dec ecx
test eax, eax
jne 0x100905d0
xor esi, esi
mov eax, esi
test esi, esi
je 0x100905ee
mov dword [eax + 8], edx
mov eax, dword [eax + 4]
test eax, eax
jne 0x100905e4
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call fcn.1004f300
add esp, 8
test eax, eax
je 0x10090612
mov eax, 0x15
mov dword [esp + 0x10], eax
jmp 0x10090dcd
mov esi, eax
jmp 0x100905de
test esi, esi
je 0x1009061f
mov edx, dword [esp + 0x18]
mov dword [esi + 8], edx
jmp 0x10090652
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
push 0xc
push ecx
call fcn.10050b80
mov ecx, eax
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x10090dcd
mov edx, dword [esp + 0x18]
push ecx
push ebx
mov dword [ecx + 8], edx
call fcn.1004f330
add esp, 8
mov eax, dword [esp + 0x20]
movsx ecx, word [eax + 0x16]
movsx edx, word [eax + 0x14]
mov eax, dword [ebp + 0x218]
push edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xbc], edx
call eax
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090dcd
mov ecx, dword [edi + 0xa4]
mov edx, dword [ebp + 0x20c]
push edi
mov dword [esp + 0x90], ecx
call edx
add esp, 4
test dword [ebp + 4], 0x7fff0000
jne 0x100906b0
test dword [ebp + 8], 0x8000
je 0x10090932
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x54]
movzx ecx, ax
add eax, 4
movsx ebx, ax
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x34], ecx
xor ecx, ecx
push ecx
push ebx
push ecx
mov word [esp + 0x5e], ax
mov word [esp + 0x5c], ax
mov eax, dword [esp + 0x3c]
push 8
push eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x4c], ebx
call fcn.100526b0
add esp, 0x18
cmp dword [esp + 0x10], 0
mov esi, eax
jne 0x100908fe
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push ecx
push 0
push ebx
push 0
push 1
push edx
call fcn.100526b0
add esp, 0x18
cmp dword [esp + 0x10], 0
mov ebp, eax
jne 0x100908fe
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x10]
push eax
push 0
push ebx
push 0
push 2
push ecx
call fcn.100526b0
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x100908fe
xor edx, edx
xor ecx, ecx
cmp dx, word [esp + 0x30]
jge 0x100907ab
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x58]
add edx, 0xc
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], eax
mov edx, esi
mov ebx, dword [esp + 0x24]
mov ebx, dword [ebx - 4]
mov dword [edx], ebx
mov ebx, dword [esp + 0x24]
mov ebx, dword [ebx]
add dword [esp + 0x24], 0x20
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x44]
inc dword [esp + 0x44]
mov byte [ebx], 1
mov ebx, dword [esp + 0x38]
add dword [esp + 0x38], 2
mov word [ebx], cx
inc ecx
add edx, 8
cmp cx, word [esp + 0x30]
jl 0x10090772
mov ebx, dword [edi + 0x44]
movsx edx, cx
mov dword [esi + edx*8], ebx
mov ebx, dword [edi + 0x48]
mov dword [esi + edx*8 + 4], ebx
mov byte [edx + ebp], 1
mov word [eax + edx*2], cx
mov ebx, dword [edi + 0x4c]
inc ecx
movsx edx, cx
mov dword [esi + edx*8], ebx
mov ebx, dword [edi + 0x50]
mov dword [esi + edx*8 + 4], ebx
mov byte [edx + ebp], 1
mov word [eax + edx*2], cx
mov ebx, dword [edi + 0xb4]
inc ecx
movsx edx, cx
mov dword [esi + edx*8], ebx
mov ebx, dword [edi + 0xb8]
mov dword [esi + edx*8 + 4], ebx
mov byte [edx + ebp], 1
mov word [eax + edx*2], cx
mov ebx, dword [edi + 0xbc]
inc ecx
movsx edx, cx
mov dword [esi + edx*8], ebx
mov ebx, dword [edi + 0xc0]
mov dword [esi + edx*8 + 4], ebx
mov ebx, dword [esp + 0x48]
mov byte [edx + ebp], 1
mov word [eax + edx*2], cx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x50]
push ecx
push ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], ebp
call fcn.10088ba0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100908fe
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x58]
mov edx, dword [esp + 0x30]
xor ebp, ebp
xor ecx, ecx
cmp bp, dx
jge 0x10090891
movzx edx, dx
movzx ebp, dx
add eax, 8
mov ecx, esi
mov dword [esp + 0x34], ebp
test byte [eax - 4], 2
je 0x10090882
movsx ebp, word [ecx]
mov dword [eax], ebp
movsx ebp, word [ecx + 4]
mov dword [eax + 4], ebp
add ecx, 8
add eax, 0x20
sub edx, 1
jne 0x10090870
mov ecx, dword [esp + 0x34]
movsx eax, cx
mov ecx, dword [esi + eax*8]
mov dword [edi + 0x44], ecx
mov edx, dword [esi + eax*8 + 4]
mov dword [edi + 0x48], edx
mov ecx, dword [esi + eax*8 + 8]
mov dword [edi + 0x4c], ecx
mov edx, dword [esi + eax*8 + 0xc]
mov dword [edi + 0x50], edx
mov ecx, dword [esi + eax*8 + 0x10]
mov dword [edi + 0xb4], ecx
mov edx, dword [esi + eax*8 + 0x14]
mov dword [edi + 0xb8], edx
mov ecx, dword [esi + eax*8 + 0x18]
mov dword [edi + 0xbc], ecx
mov edx, dword [esi + eax*8 + 0x1c]
mov dword [edi + 0xc0], edx
test byte [ebx + 0x2c0], 2
jne 0x100908e9
mov eax, dword [edi + 0x4c]
sub eax, dword [edi + 0x44]
mov dword [edi + 0x3c], eax
test byte [ebx + 0x2c0], 0x10
jne 0x100908fe
sub ecx, dword [edi + 0xb4]
mov dword [edi + 0xb0], ecx
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x2c]
push edx
push esi
call fcn.1004f1e0
mov eax, dword [esp + 0x5c]
push eax
push esi
call fcn.1004f1e0
mov ecx, dword [esp + 0x68]
push ecx
push esi
call fcn.1004f1e0
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
jne 0x10090de8
test byte [edi + 0x10], 1
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x20]
jne 0x100909ad
mov edx, dword [edi + 0x44]
push esi
push edx
call fcn.10078b70
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x4c]
push esi
push eax
call fcn.10078b70
mov ecx, dword [edi + 0xb4]
push esi
push ecx
mov dword [edi + 0x4c], eax
call fcn.10078b70
mov ebp, dword [esp + 0x58]
mov edx, dword [edi + 0xb8]
push ebp
push edx
mov dword [edi + 0xb4], eax
call fcn.10078b70
mov dword [edi + 0xb8], eax
mov eax, dword [edi + 0xbc]
push esi
push eax
call fcn.10078b70
mov ecx, dword [edi + 0xc0]
push ebp
push ecx
mov dword [edi + 0xbc], eax
call fcn.10078b70
add esp, 0x30
mov dword [edi + 0xc0], eax
test dword [edi + 0x10], 0x400
push ebx
je 0x100909cb
call fcn.1004cd60
mov edx, dword [edi + 8]
mov dword [edx + 0x48], 0x636f6d70
jmp 0x10090de1
mov eax, dword [esp + 0x2c]
mov ebp, dword [ebx + 0x54]
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x1c]
mov esi, dword [ebx + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x84], edx
call fcn.1004cd60
add esp, 4
mov dword [esp + 0x38], 0
test ebp, ebp
jbe 0x10090b4a
mov eax, dword [esp + 0xd0]
inc eax
shl esi, 5
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], esi
mov edx, dword [edi + 0x50]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x34]
add eax, dword [esp + 0x24]
movsx ecx, word [ecx + 0x16]
mov eax, dword [eax]
mov dword [esp + 0x6c], edx
mov edx, dword [edi + 0xb4]
mov esi, dword [edi + 0x44]
mov ebp, dword [edi + 0x48]
mov ebx, dword [edi + 0x4c]
mov dword [esp + 0x70], edx
mov edx, dword [edi + 0xb8]
mov dword [esp + 0x74], edx
mov edx, dword [edi + 0xbc]
mov dword [esp + 0x78], edx
mov edx, dword [edi + 0xc0]
mov dword [esp + 0x7c], edx
mov edx, dword [edi + 0x3c]
mov dword [esp + 0x44], edx
mov edx, dword [edi + 0xb0]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
push 0
push edx
push eax
push edi
mov dword [esp + 0x50], ecx
call fcn.10090350
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090de8
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x34]
add ecx, dword [esp + 0x24]
mov edx, 0x200
mov dword [esp + 0x30], ecx
test word [ecx + 4], dx
jne 0x10090aff
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [edi + 0x50], ecx
mov ecx, dword [esp + 0x74]
mov dword [edi + 0xb4], edx
mov edx, dword [esp + 0x78]
mov dword [edi + 0xb8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0xbc], edx
mov edx, dword [esp + 0x44]
mov dword [edi + 0xc0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x44], esi
mov dword [edi + 0x48], ebp
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x3c], edx
mov dword [edi + 0xb0], ecx
mov edx, dword [esp + 0x20]
movsx esi, word [edx + 0x16]
cmp esi, dword [esp + 0x40]
je 0x10090b30
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edi
call fcn.10085fb0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090de8
mov ecx, dword [esp + 0x38]
add dword [esp + 0x24], 0x20
inc ecx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x2c]
jb 0x10090a21
jmp 0x10090b52
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
test byte [edi + 0x10], 2
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov dword [edi + 0x18], edx
mov edx, dword [esp + 0x8c]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0xa4], edx
jne 0x10090de8
mov edx, dword [esp + 0x30]
mov ecx, 0x100
test word [edx + 4], cx
je 0x10090de8
cmp esi, dword [esp + 0x28]
jbe 0x10090de8
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x28]
push eax
push ecx
push edi
call fcn.10090100
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x10090de8
mov ebx, dword [esp + 0x18]
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x30], eax
mov eax, ebx
call fcn.10085a60
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090dcd
cmp byte [esp + 0xd4], al
jne 0x10090dcd
mov ecx, edi
call fcn.100861b0
push ebx
mov esi, edi
call fcn.10085b10
add esp, 4
test dword [ebp + 4], 0x7fff0000
jne 0x10090c10
test dword [ebp + 8], 0x8000
je 0x10090d4a
xor edx, edx
mov word [esp + 0xb8], dx
mov ecx, 2
mov word [esp + 0xbc], cx
mov ecx, dword [edi + 0x48]
mov eax, 1
mov word [esp + 0xba], ax
mov eax, dword [edi + 0x44]
mov edx, 3
mov word [esp + 0xbe], dx
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x64], ecx
mov ecx, dword [edi + 0xb4]
mov dword [esp + 0x68], edx
mov edx, dword [edi + 0xb8]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0xbc]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi + 0xc0]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov edx, 4
mov eax, edx
mov word [esp + 0x4e], dx
lea ecx, [esp + 0x60]
mov word [esp + 0x4c], ax
mov dword [esp + 0x50], ecx
lea edx, [esp + 0x28]
push 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x58], edx
mov edx, dword [edi]
lea eax, [esp + 0xbc]
push ecx
mov dword [esp + 0x60], eax
push edx
mov eax, ebx
mov byte [esp + 0x34], 1
mov byte [esp + 0x35], 1
mov byte [esp + 0x36], 1
mov byte [esp + 0x37], 1
call fcn.10088ba0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10090dcd
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x70]
mov dword [edi + 0xb8], edx
mov edx, dword [esp + 0x7c]
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x68]
mov dword [edi + 0x50], ecx
mov ecx, dword [esp + 0x78]
mov dword [edi + 0xc0], edx
mov edx, dword [edi]
mov dword [edi + 0x44], esi
mov dword [edi + 0x4c], eax
mov dword [edi + 0xb4], ebx
mov dword [edi + 0xbc], ecx
test byte [edx + 0x2c0], 2
jne 0x10090d39
sub eax, esi
mov dword [edi + 0x3c], eax
test byte [edx + 0x2c0], 0x10
jne 0x10090d4a
sub ecx, ebx
mov dword [edi + 0xb0], ecx
test byte [edi + 0x10], 1
jne 0x10090dc1
mov esi, dword [esp + 0x3c]
mov eax, dword [edi + 0x44]
push esi
push eax
call fcn.10078b70
mov ecx, dword [edi + 0x4c]
push esi
push ecx
mov dword [edi + 0x44], eax
call fcn.10078b70
mov edx, dword [edi + 0xb4]
push esi
push edx
mov dword [edi + 0x4c], eax
call fcn.10078b70
mov ebx, dword [esp + 0x58]
mov dword [edi + 0xb4], eax
mov eax, dword [edi + 0xb8]
push ebx
push eax
call fcn.10078b70
mov ecx, dword [edi + 0xbc]
push esi
push ecx
mov dword [edi + 0xb8], eax
call fcn.10078b70
mov edx, dword [edi + 0xc0]
push ebx
push edx
mov dword [edi + 0xbc], eax
call fcn.10078b70
add esp, 0x30
mov dword [edi + 0xc0], eax
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x10090dcd
mov eax, dword [esp + 0x10]
cmp byte [esp + 0x17], 0
je 0x10090de8
mov ebp, dword [esp + 0x48]
mov eax, dword [ebp + 0x20c]
push edi
call eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp byte [esp + 0x1f], 0
je 0x10090e16
mov ecx, dword [esp + 0x48]
mov edx, dword [ecx + 0x80]
mov eax, dword [edx + 0x34]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0x84]
push edx
push eax
call ecx
mov eax, dword [esp + 0x18]
add esp, 8
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101044ca
add esp, 0xb4
ret