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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 0x84], 4
mov eax, dword [esi + 4]
push edi
mov edi, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
jne 0x83793e1b
mov ecx, dword [esi + 0xc4]
cmp byte [ecx + 9], 0x2c
mov dword [ebp - 0xc], ecx
je 0x83793e1b
mov cl, byte [ecx]
and cl, 0xf
shl cl, 2
movzx ecx, cl
cmp dword [esi + 0x20], ecx
jne 0x83793e1b
mov eax, dword [esi + 0x9c]
mov ebx, dword [eax + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x224]
push 0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
call dword [0x870f4184]
mov ecx, dword [ebx + 0x234]
mov ecx, dword [ecx + eax*4]
imul eax, eax, 0xc0
mov edx, dword [ebp - 4]
add eax, dword [edx + 0x2f98]
mov ebx, dword [ebp - 0xc]
inc dword [ecx]
inc dword [eax + 0x84]
push ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
call fcn.837726f1
push dword [ebp - 0x18]
movzx ecx, ax
push dword [edi + 0xc]
mov eax, dword [esi + 0xa0]
push ecx
mov dword [ebp - 0x14], ecx
movzx ecx, word [ebx + 4]
push ecx
mov cl, byte [esi + 8]
push dword [esi + 0x20]
and cl, 1
movzx ecx, cl
push ecx
push dword [eax + 0x18]
push dword [eax + 8]
push dword [esi + 0x9c]
push dword [esi + 0xbc]
push 0
call fcn.837948fe
cmp eax, 1
jge 0x83793be2
lea eax, [ebp - 8]
push eax
mov eax, ebx
push eax
movzx eax, word [eax + 4]
push eax
push dword [ebp - 0x10]
call fcn.8379447b
mov ebx, eax
test ebx, ebx
jne 0x83793773
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 4]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push dword [esi + 0xc4]
add eax, 0x3010
push eax
call fcn.837940c0
mov ebx, eax
test ebx, ebx
jne 0x83793762
cmp dword [0x87107e34], 1
jne 0x83793be2
mov al, byte [0x87107e38]
cmp al, 2
jae 0x837936f7
test al, al
jne 0x83793be2
mov edx, dword [0x87107e20]
mov edi, dword [0x87107e24]
mov ecx, 0x80
mov eax, 0x80000040
and edx, ecx
and edi, eax
or edx, edi
je 0x83793be2
mov edx, dword [0x87107e28]
mov ebx, dword [0x87107e2c]
mov edi, edx
and edi, ecx
mov ecx, ebx
and ecx, eax
cmp edi, edx
jne 0x83793be2
cmp ecx, ebx
jne 0x83793be2
push 0x87038c28
push 0x870f485c
push 0x870f4f40
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.83799739
jmp 0x83793be2
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x90]
mov dword [ebx + 0x88], eax
jmp 0x837937c6
mov al, byte [ebx + 0x59]
mov ecx, dword [ebp - 0xc]
cmp al, byte [ecx + 9]
je 0x837937b0
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
mov ecx, dword [esi + 0x20]
xor eax, eax
add ecx, 9
push eax
bswap ecx
push ecx
push eax
push 0xc
push esi
push 0x87100ec0
push eax
call fcn.837506c9
jmp 0x83793be2
mov ecx, dword [esi + 4]
lea eax, [ebx + 0x88]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x90]
je 0x837937c6
and dword [eax], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x48]
mov ecx, dword [ebp - 0xc]
and eax, 0xfff00000
or dword [ebx + 0x78], eax
movzx ecx, byte [ecx + 1]
mov eax, dword [ebx + 0x78]
xor edx, edx
inc edx
and ecx, 3
shl edx, cl
or edx, eax
cmp word [ebp - 0x14], 0
mov dword [ebx + 0x78], edx
jne 0x83793814
cmp word [ebx + 0x7c], 0
jne 0x83793814
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
and al, 0xf
shl al, 2
movzx ax, al
mov ecx, 0xffff
sub cx, ax
movzx ecx, cx
jmp 0x83793819
mov ecx, 0xffeb
movzx eax, word [ebp - 0x14]
mov edx, dword [edi + 0xc]
add edx, eax
mov dword [ebp - 0x10], eax
movzx eax, cx
cmp edx, eax
jbe 0x8379384b
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
mov ecx, dword [esi + 0x20]
xor eax, eax
add ecx, 6
jmp 0x83793798
mov eax, dword [ebp - 0xc]
lea ecx, [eax + 0x10]
push ecx
add eax, 0xc
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x10]
lea eax, [ebx + 0x84]
push dword [ebp - 0x18]
push eax
call fcn.83794230
test eax, eax
jge 0x837938b0
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83793899
cmp byte [eax + 0x1d], 4
jb 0x83793899
test byte [eax + 0x20], 0x40
je 0x83793899
push 0x870fd880
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.83796598
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
jmp 0x83793cf5
mov ecx, dword [edi + 0xc]
test ecx, ecx
jne 0x837938d8
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83793899
cmp byte [eax + 0x1d], 4
jb 0x83793899
test byte [eax + 0x20], 0x40
je 0x83793899
push 0x870fd880
push 0xc
jmp 0x8379388e
mov eax, dword [ebp - 0xc]
test byte [eax + 6], 0x20
jne 0x83793a2a
mov eax, dword [ebp - 0x10]
mov edx, dword [ebx + 0x40]
add eax, ecx
cmp edx, 0xffffffff
je 0x8379392a
cmp eax, edx
je 0x83793945
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83793899
cmp byte [eax + 0x1d], 4
jb 0x83793899
test byte [eax + 0x20], 0x40
je 0x83793899
sub edx, dword [ebp - 0x10]
push edx
push ecx
push 0x870fd880
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837ae3c7
jmp 0x83793899
movzx ecx, word [ebx + 0x7c]
mov dword [ebx + 0x40], eax
cmp ecx, eax
ja 0x83793a62
movzx ecx, word [ebx + 0x7e]
cmp ecx, eax
ja 0x83793a62
push dword [edi + 0xc]
push 0xfff
call dword [0x870f4054]
add eax, 3
lea ecx, [ebp - 0x18]
and eax, 0xfffffffc
push ecx
push eax
push 8
mov dword [ebp - 0x20], eax
call fcn.8372c957
test eax, eax
jl 0x837939a1
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0xc]
push dword [ebp - 0x18]
call fcn.8372c957
test eax, eax
jl 0x837939a1
push 0
push 0x65725049
push dword [ebp - 0x18]
push 0
call dword [0x870f40a4]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
jne 0x83793a92
mov esi, dword [ebp + 8]
cmp dword [0x87107e34], 1
jne 0x83793a13
mov al, byte [0x87107e38]
cmp al, 2
jae 0x837939b7
test al, al
jne 0x83793a13
mov edx, dword [0x87107e20]
mov edi, dword [0x87107e24]
mov ecx, 0x80
mov eax, 0x80000040
and edx, ecx
and edi, eax
or edx, edi
je 0x83793a13
mov edx, dword [0x87107e28]
mov edi, edx
and edi, ecx
mov ecx, dword [0x87107e2c]
and ecx, eax
cmp edi, edx
jne 0x83793a13
cmp ecx, dword [0x87107e2c]
jne 0x83793a13
push 0x87038be8
push 0x870f485c
push 0x870f4f40
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.83799739
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
jmp 0x83793be2
test cl, 7
je 0x83793a4c
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
xor eax, eax
push eax
push 2
pop ecx
jmp 0x83793799
mov eax, dword [ebx + 0x40]
cmp eax, 0xffffffff
je 0x83793945
mov edx, dword [ebp - 0x10]
add ecx, edx
jmp 0x8379393d
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83793899
cmp byte [eax + 0x1d], 4
jb 0x83793899
test byte [eax + 0x20], 0x40
je 0x83793899
push 0x870fd880
push 0xe
jmp 0x8379388e
and dword [esi + 8], 0
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
lea eax, [esi + eax + 8]
mov dword [ebp - 0x18], eax
mov ecx, 0xfff
and eax, ecx
and edx, ecx
lea ecx, [edx + eax + 0xfff]
mov edx, dword [edi + 0xc]
shr ecx, 0xc
shr edx, 0xc
add ecx, edx
lea ecx, [ecx*4 + 0x1c]
mov word [esi + 0xc], cx
xor ecx, ecx
mov word [esi + 0xe], cx
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffff000
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], ecx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x1c], eax
lea eax, [esi + 8]
push eax
call dword [0x870f4104]
mov ax, word [edi + 0xc]
mov ecx, dword [ebp - 0x14]
and dword [esi], 0
mov word [esi + 4], ax
mov word [esi + 6], cx
movzx eax, word [ebx + 0x7c]
cmp cx, ax
jne 0x83793c93
cmp dword [ebx + 0x44], 0
jne 0x83793c3d
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x44], esi
mov cl, byte [eax + 9]
mov byte [ebx + 0x82], cl
mov al, byte [eax]
and al, 0xf
shl al, 2
movzx ax, al
sub ax, 0x14
mov word [ebx + 0x3c], ax
je 0x83793c2c
push 0
movzx eax, ax
push 0x65725049
push eax
push 0
call dword [0x870f40a4]
mov dword [ebx + 0x38], eax
test eax, eax
jne 0x83793bf6
cmp dword [0x87107e34], 1
jne 0x83793bcd
mov al, byte [0x87107e38]
cmp al, 2
jae 0x83793b73
test al, al
jne 0x83793bcd
mov edx, dword [0x87107e20]
mov esi, dword [0x87107e24]
mov ecx, 0x80
mov eax, 0x80000040
and edx, ecx
and esi, eax
or edx, esi
je 0x83793bcd
mov edx, dword [0x87107e28]
mov edi, dword [0x87107e2c]
mov esi, edx
and esi, ecx
mov ecx, edi
and ecx, eax
cmp esi, edx
jne 0x83793bcd
cmp ecx, edi
jne 0x83793bcd
push 0x87038b7e
push 0x870f485c
push 0x870f4f40
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.83799739
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
inc dword [eax + 8]
mov eax, dword [ebp - 0x28]
inc dword [eax + 0x8c]
jmp 0x83793cf5
movzx eax, word [ebx + 0x3c]
push eax
push eax
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.8379443f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x30]
push eax
movzx eax, word [ebx + 0x3c]
push eax
mov eax, dword [edi + 0x14]
sub eax, dword [ecx + 0x20]
push dword [ebx + 0x38]
add eax, 0x14
push eax
push dword [edi + 0x10]
call fcn.8373e2be
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc4]
lea edi, [ebx + 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x83793c42
mov eax, dword [ebx + 0x48]
mov dword [eax], esi
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x1c]
mov ax, word [eax + 0xc]
add word [ebx + 0x7c], ax
jmp 0x83793c77
mov cx, word [eax + 6]
cmp cx, word [ebx + 0x7c]
jne 0x83793c84
mov ecx, dword [ebx + 0x48]
mov dword [ecx], eax
mov dword [ebx + 0x48], eax
mov cx, word [eax + 4]
add word [ebx + 0x7c], cx
mov ecx, dword [eax]
mov dword [ebx + 0x4c], ecx
and dword [eax], 0
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x83793d62
jmp 0x83793c55
mov ax, cx
cmp ax, word [ebx + 0x7c]
ja 0x83793d62
jmp 0x83793cb6
mov edi, dword [ebp - 0x14]
cmp di, ax
ja 0x83793d0c
movzx ecx, word [esi + 4]
add ecx, dword [ebp - 0x10]
movzx eax, ax
cmp ecx, eax
jle 0x83793dd7
push 0
push esi
call dword [0x870f434c]
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83793ce0
cmp byte [eax + 0x1d], 4
jb 0x83793ce0
test byte [eax + 0x20], 0x40
je 0x83793ce0
push 0x870fd880
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.83796598
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push ebx
add eax, 0x3010
push eax
call fcn.837cd3f5
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x83793dc0
mov dword [eax + 0x4c], 0xc000021b
jmp 0x83793dc0
lea ecx, [ebx + 0x4c]
mov eax, dword [ecx]
jmp 0x83793d38
movzx edx, word [eax + 6]
cmp dx, di
ja 0x83793d49
jae 0x83793dc9
movzx ecx, word [eax + 4]
movzx edx, dx
add ecx, edx
cmp ecx, dword [ebp - 0x10]
jg 0x83793cad
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x83793d13
mov ax, word [esi + 4]
add ax, di
mov word [ebx + 0x7e], ax
jmp 0x83793d5c
movzx edx, word [esi + 4]
movzx eax, word [eax + 6]
add edx, dword [ebp - 0x10]
cmp edx, eax
jg 0x83793cad
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [ecx], esi
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x30]
push eax
push dword [esi + 0xc]
push dword [ebp - 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
call fcn.8373e2be
mov esi, dword [esi + 0xc]
mov edi, dword [ebp - 4]
push esi
add esi, 0x100
push esi
push ebx
add edi, 0x3010
push edi
call fcn.8379443f
movzx eax, word [ebx + 0x7c]
push dword [ebp - 8]
push ebx
cmp eax, dword [ebx + 0x40]
jne 0x83793dad
mov esi, dword [ebp + 8]
push esi
call fcn.83794538
jmp 0x83793db6
push edi
call fcn.83793fe7
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov dword [eax + 0x4c], 0xc0000240
mov dword [esi + 0x1c], 0x3b
jmp 0x83793e22
mov cx, word [esi + 4]
cmp cx, word [eax + 4]
jne 0x83793cad
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83793e01
cmp byte [eax + 0x1d], 4
jb 0x83793e01
test byte [eax + 0x20], 0x40
je 0x83793e01
push 0x870fd880
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.83796598
push 0
push esi
call dword [0x870f434c]
mov dl, byte [ebp - 8]
lea ecx, [ebx + 0x18]
call dword [0x870f47d8]
jmp 0x83793cf2
mov dword [eax + 0x4c], 0xc000023e
pop edi
pop esi
pop ebx
leave
ret 4