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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x300
mov eax, dword [0x87100004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x174], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp + 0x40]
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x1b8]
mov dword [ebp - 0x178], eax
mov eax, dword [ebp + 0x54]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
cmp byte [ebp + 0x48], 0
mov dword [ebp - 0x17c], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x198], ecx
je 0x8374775f
cmp ecx, edi
je 0x8374775f
cmp dword [ecx + 0x110], edi
jne 0x8374775f
push 1
push edi
push 0xc0000022
push 0x870f6d70
push edi
mov dword [eax], 0x1001
call fcn.8377aaa5
mov dword [ebp - 0x160], eax
jmp 0x83747fc2
lea eax, [ebx + 0x138]
push eax
push dword [ebp + 0xc]
call fcn.8377aac4
cmp dword [ebp + 0x44], edi
je 0x83747788
test dword [ebx + 0x10], 0x4000
jne 0x83747788
cmp dword [0x8710b0b4], edi
je 0x83747fc2
xor eax, eax
lea edi, [ebp - 0x1a0]
stosd dword es:[edi], eax
push 8
stosd dword es:[edi], eax
pop ecx
xor eax, eax
push 0x100
lea edi, [ebp - 0x2f8]
push eax
rep stosd dword es:[edi], eax
mov dword [ebp - 0x188], eax
mov dword [ebp - 0x184], eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.837853bf
mov ax, word [ebp + 0xc]
mov word [ebp - 0x1a4], ax
movzx eax, word [esi]
mov dword [ebp - 0x1a0], eax
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebx + 0xe4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1c8], ecx
movzx eax, word [eax + 6]
mov dword [ebp - 0x1cc], eax
movzx eax, word [esi + 2]
shl eax, 3
mov dword [ebp + eax - 0x2d8], 0xc
lea ecx, [ebp - 0x1cc]
mov dword [ebp + eax - 0x2d4], ecx
mov eax, dword [ebx + 0xe8]
lea ecx, [eax + 0x34]
mov dword [ebp - 0x1b8], ecx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x1bc], eax
movzx eax, word [esi + 4]
shl eax, 3
mov dword [ebp + eax - 0x2d8], 0x10
lea ecx, [ebp - 0x1bc]
mov dword [ebp + eax - 0x2d4], ecx
movzx eax, word [esi + 6]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + eax*8 - 0x2d8], edx
mov dword [ebp + eax*8 - 0x2d4], ecx
movzx eax, word [esi + 0xe]
mov ecx, dword [ebp + 0x30]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp + eax*8 - 0x2d8], edx
mov dl, byte [ebx + 8]
mov dword [ebp + eax*8 - 0x2d4], ecx
movzx eax, word [esi + 0xc]
movzx edi, word [esi + 0xa]
shl eax, 3
xor ecx, ecx
inc ecx
mov dword [ebp + eax - 0x2d8], ecx
mov byte [ebp + eax - 0x2d4], dl
mov ax, word [ebp + 0x1c]
mov dh, al
shl edi, 3
mov dword [ebp + edi - 0x2d8], 2
add esp, 0xc
mov dl, ah
mov ax, word [ebp + 0x34]
mov word [ebp + edi - 0x2d4], dx
movzx edi, word [esi + 0x10]
mov dh, al
shl edi, 3
mov dword [ebp + edi - 0x2d8], 2
mov dl, ah
movzx eax, word [esi + 8]
shl eax, 3
mov word [ebp + edi - 0x2d4], dx
mov dl, byte [ebp + 0x20]
mov dword [ebp + eax - 0x2d8], ecx
mov byte [ebp + eax - 0x2d4], dl
movzx eax, word [esi + 0x16]
shl eax, 3
mov dword [ebp + eax - 0x2d8], ecx
mov byte [ebp + eax - 0x2d4], dl
movzx eax, word [esi + 0x18]
shl eax, 3
mov dword [ebp + eax - 0x2d8], 4
lea ecx, [ebp + 0x24]
mov dword [ebp + eax - 0x2d4], ecx
movzx ecx, word [esi + 0x1a]
mov eax, dword [ebp - 0x170]
mov eax, dword [eax + 8]
shl ecx, 3
push 3
pop edi
mov dword [ebp + ecx - 0x2d8], edi
mov edx, dword [eax + 0x18]
mov edx, dword [edx + 0xc]
mov dword [ebp + ecx - 0x2d4], edx
movzx ecx, word [esi + 0x1c]
shl ecx, 3
mov dword [ebp + ecx - 0x2d8], edi
mov edx, dword [eax + 0x18]
mov edx, dword [edx + 0x10]
mov dword [ebp + ecx - 0x2d4], edx
movzx ecx, word [esi + 0x26]
shl ecx, 3
mov dword [ebp + ecx - 0x2d8], edi
mov eax, dword [eax + 4]
mov dword [ebp + ecx - 0x2d4], eax
mov ecx, dword [ebp - 0x16c]
xor eax, eax
cmp ecx, eax
je 0x837479b9
push eax
push dword [ebp - 0x180]
movzx eax, word [ebx + 0x18]
push dword [ebp - 0x170]
push eax
push ecx
call fcn.8377a586
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x160], eax
xor eax, eax
jmp 0x837479bf
mov dword [ebp - 0x160], eax
movzx edx, word [esi + 0x2a]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x2c]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x2e]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x30]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x28]
mov dword [ebp + edx*8 - 0x2d8], eax
cmp ecx, eax
je 0x83747ad0
movzx eax, word [esi + 0x34]
shl eax, 3
mov dword [ebp + eax - 0x2d8], 4
lea edx, [ecx + 8]
mov dword [ebp + eax - 0x2d4], edx
movzx eax, word [esi + 0x36]
mov edx, dword [ecx + 0x18]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
mov edx, dword [edx + 0xc]
mov dword [ebp + eax - 0x2d4], edx
movzx eax, word [esi + 0x38]
mov edx, dword [ecx + 0x18]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
mov edx, dword [edx + 0x10]
mov dword [ebp + eax - 0x2d4], edx
movzx eax, word [esi + 0x3a]
mov edx, dword [ecx + 4]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
mov dword [ebp + eax - 0x2d4], edx
movzx eax, word [esi + 0x32]
mov edx, dword [ebp - 0x160]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
and dword [ebp + eax - 0x2d4], 0
movzx eax, word [esi + 0x3c]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
mov dword [ebp + eax - 0x2d4], edx
movzx eax, word [esi + 0x3e]
push 0
push dword [ebp - 0x180]
mov dword [ebp + eax*8 - 0x2d8], edi
push dword [ebp - 0x170]
movzx eax, word [ebx + 0x18]
push eax
push ecx
call fcn.8377a586
movzx ecx, word [esi + 0x3e]
mov dword [ebp + ecx*8 - 0x2d4], eax
mov ecx, dword [ebp - 0x16c]
jmp 0x83747b2e
movzx edx, word [esi + 0x34]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x36]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x38]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x3a]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx edx, word [esi + 0x32]
mov dword [ebp + edx*8 - 0x2d8], eax
movzx eax, word [esi + 0x3c]
mov edx, dword [ebp - 0x160]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
mov dword [ebp + eax - 0x2d4], edx
movzx eax, word [esi + 0x3e]
and dword [ebp + eax*8 - 0x2d8], 0
movzx eax, word [esi + 0x40]
shl eax, 3
mov dword [ebp + eax - 0x2d8], edi
and dword [ebp + eax - 0x2d4], 0
movzx eax, word [esi + 0x44]
and dword [ebp + eax*8 - 0x2d8], 0
movzx eax, word [esi + 0x46]
test ecx, ecx
je 0x83747b75
mov ecx, dword [ecx + 0x18]
shl eax, 3
add ecx, 0x20
mov dword [ebp + eax - 0x2d8], 4
mov dword [ebp + eax - 0x2d4], ecx
jmp 0x83747b7d
and dword [ebp + eax*8 - 0x2d8], 0
lea eax, [ebp - 0x168]
push eax
push dword [ebp + 0x34]
push dword [ebp - 0x174]
push dword [ebp + 0xc]
push ebx
call fcn.83762300
mov dword [ebp - 0x160], eax
test eax, eax
jne 0x83747fc0
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x83747bd4
movzx eax, word [esi + 0x42]
shl eax, 3
mov dword [ebp + eax - 0x2d8], 0xc
mov edx, dword [ecx + 0x20]
mov dword [ebp + eax - 0x2d4], edx
movzx eax, byte [ecx + 2]
mov dword [ebp - 0x164], eax
movzx eax, word [esi + 0x20]
shl eax, 3
lea edx, [ebx + 0x58]
xor ecx, ecx
mov dword [ebp + eax - 0x2d8], edi
test edx, edx
je 0x83747c04
mov edx, dword [ebx + 0x78]
test dl, 1
je 0x83747bf6
push 2
pop ecx
test edx, 0x800
je 0x83747c04
or ecx, 0x10000
cmp byte [ebp + 0x48], 0
je 0x83747c0d
or ecx, 1
cmp dword [ebp - 0x164], 0
je 0x83747c1c
or ecx, 0x4000
mov edx, dword [ebx + 0x14]
and edx, 0x2000
mov dword [ebp - 0x174], edx
je 0x83747c33
or ecx, 0x100000
mov dword [ebp + eax - 0x2d4], ecx
xor eax, eax
lea edi, [ebp - 0x1d8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x158
lea eax, [ebp - 0x15c]
push 0
push eax
mov dword [ebp - 0x1d8], ebx
mov byte [ebp - 0x1d4], 1
call fcn.837853bf
add esp, 0xc
cmp dword [ebx + 0x1b4], 1
jne 0x83747c7b
or dword [ebp - 0x158], 0x80000
or dword [ebp - 0x15c], 0x80
or dword [ebp - 0x15c], 0x20
and dword [ebp - 0x150], 0
mov ecx, dword [ebx + 0xe4]
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x154], eax
mov eax, dword [ecx + 0x10]
or dword [ebp - 0x15c], 0x800
or dword [ebp - 0x15c], 0x4000
cdq
mov dword [ebp - 0x11c], eax
mov eax, dword [ebx + 0x194]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x118], edx
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c0], eax
movzx eax, word [ecx + 6]
or dword [ebp - 0x15c], 8
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0xe8]
push 0x10
pop edi
or dword [ebp - 0x15c], edi
cmp dword [ebp - 0x174], 0x2000
mov eax, dword [eax + 0x1c]
cdq
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
jne 0x83747d65
mov eax, dword [ebp - 0x198]
or dword [ebp - 0x15c], 0x20000000
lea ecx, [eax + 0x10]
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x9c], ecx
test eax, eax
je 0x83747d65
or dword [ebp - 0x15c], 0x10000000
mov dword [ebp - 0xa0], eax
cmp dword [ebx + 0xa8], 0
je 0x83747dfa
lea eax, [ebp - 0x190]
push eax
lea eax, [ebp - 0x18c]
push eax
push ebx
call fcn.8374c6a1
mov eax, dword [ebp - 0x190]
test eax, eax
je 0x83747dc0
lea ecx, [eax + 0x34]
mov dword [ebp - 0x1a8], ecx
mov eax, dword [eax + 0x20]
add eax, 0x34
mov dword [ebp - 0x1ac], eax
movzx eax, word [esi + 0x12]
shl eax, 3
lea ecx, [ebp - 0x1ac]
mov dword [ebp + eax - 0x2d8], edi
mov dword [ebp + eax - 0x2d4], ecx
mov eax, dword [ebp - 0x18c]
test eax, eax
je 0x83747dfa
lea ecx, [eax + 0x34]
mov dword [ebp - 0x1b0], ecx
mov eax, dword [eax + 0x20]
add eax, 0x34
mov dword [ebp - 0x1b4], eax
movzx eax, word [esi + 0x14]
shl eax, 3
lea ecx, [ebp - 0x1b4]
mov dword [ebp + eax - 0x2d8], edi
mov dword [ebp + eax - 0x2d4], ecx
mov eax, dword [ebx + 0x110]
test eax, eax
je 0x83747e0c
push eax
call fcn.8377a5fb
jmp 0x83747e10
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 0x4c]
or dword [ebp - 0x15c], 0x8000
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp + 0x50]
mov dword [ebp - 0xf0], ecx
mov ecx, eax
or ecx, edx
je 0x83747e48
or dword [ebp - 0x15c], 0x4000000
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x2f8]
test eax, eax
je 0x83747e62
or dword [ebp - 0x15c], 0x20000
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x83747e88
or dword [ebp - 0x15c], 0x10000
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x2f0]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x2ec]
test eax, eax
je 0x83747eae
or dword [ebp - 0x15c], 0x800000
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebx + 0x12c]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x188]
push eax
push 0
push ebx
call fcn.83772267
test eax, eax
jne 0x83747eef
mov eax, dword [ebp - 0x188]
or dword [ebp - 0x15c], 2
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x184]
push ebx
mov dword [ebp - 0x138], eax
call fcn.83772272
push dword [ebp - 0x194]
lea eax, [ebp - 0x15c]
push dword [ebp - 0x17c]
push 0
push 0
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.8377a798
mov dword [ebp - 0x160], eax
test eax, eax
jne 0x83747fc0
lea eax, [ebp - 0x15c]
push eax
push ebx
call fcn.8376207d
mov dword [ebp - 0x160], eax
test eax, eax
jne 0x83747fc0
push dword [ebp - 0x168]
push ebx
call fcn.83763cc4
mov dword [ebp - 0x160], eax
test eax, eax
jne 0x83747fc0
test dword [ebx + 0x10], 0x4000
je 0x83747fb1
lea eax, [ebp - 0x164]
push eax
push dword [0x8710b128]
call fcn.8377f957
mov dword [ebp - 0x160], eax
test eax, eax
jne 0x83747fc0
mov esi, dword [ebp - 0x178]
mov edi, dword [ebp - 0x164]
push 0x38
pop ecx
push eax
push dword [ebp - 0x164]
rep movsd dword es:[edi], dword [esi]
movzx eax, word [ebx + 0x18]
push 0x870cd626
push eax
push ebx
call fcn.837b715c
mov dword [ebp - 0x160], eax
test eax, eax
jne 0x83747fc0
mov eax, dword [ebp - 0x17c]
mov byte [eax], 1
call fcn.8377aae6
movzx eax, al
push eax
push ebx
call fcn.8377a9e8
xor edi, edi
cmp dword [ebp - 0x168], edi
je 0x83747fd6
push dword [ebp - 0x168]
push ebx
call fcn.837b699a
cmp dword [ebp - 0x160], edi
pop edi
pop esi
pop ebx
je 0x83747ff1
push 0x870f6d70
push dword [ebp - 0x160]
call fcn.8377aa64
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x160]
xor ecx, ebp
call fcn.83781dcc
leave
ret 0x54