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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x156c
call fcn.731f0500
mov eax, dword [0x731f70b4]
xor eax, esp
mov dword [esp + 0x1568], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x20]
push edi
push dword [ebp + 0x24]
mov edi, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0x28]
push esi
mov dword [esp + 0x1c], ecx
lea ecx, [edi + 8]
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x34], esi
call fcn.7317f290
mov eax, dword [ebp + 0x18]
mov ecx, 6
mov dword [edi + 0x48], eax
mov eax, 0xffff
mov word [edi + 0x4e], ax
mov eax, dword [ebp + 0x14]
mov byte [edi + 0x4c], bl
mov ebx, dword [ebp + 0x1c]
mov dword [edi + 0x6c], esi
mov esi, dword [ebp + 0xc]
mov dword [edi + 0x68], eax
lea eax, [edi + 0xf8]
mov dword [edi], 0x731516f4
mov dword [edi + 8], 0x731516dc
mov dword [edi + 0x50], 0x73151690
mov dword [edi + 0x110], 1
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], 5
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], esi
mov dword [edi + 0x7c], esi
lea ecx, [ecx]
mov dword [eax - 0x18], 0
lea eax, [eax + 4]
mov dword [eax - 4], 1
sub ecx, 1
jne 0x73180c90
lea eax, [edi + 0x5c]
mov edx, esi
push eax
push ebx
push dword [esp + 0x14]
mov ecx, esi
call fcn.731706f0
add esp, 0xc
test eax, eax
je 0x7318116d
mov ecx, dword [edi + 0x5c]
mov eax, 6
add ecx, 0x1f
and ecx, 0xffffffe0
mul ecx
mov dword [edi + 0x5c], ecx
mov ecx, eax
test edx, edx
jne 0x7318116d
cmp ecx, 0x80000000
ja 0x7318116d
mov esi, dword [esp + 0x28]
mov dword [edi + 0x70], ecx
cmp esi, 2
je 0x73180d2c
cmp esi, 3
je 0x73180d2c
cmp esi, 1
jne 0x73180d73
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
test dword [eax + 0x220], 0x100
jne 0x73180d23
test dword [eax + 0x4c], 0x10000000
je 0x73180d23
xor eax, eax
jmp 0x73180d28
mov eax, 1
test eax, eax
je 0x73180d73
test ecx, ecx
je 0x73180d44
add ecx, 0x20
je 0x73180d5c
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
jne 0x73180d5e
xor eax, eax
mov dword [edi + 0x58], eax
test eax, eax
jne 0x73180d73
mov eax, dword [esp + 0x14]
mov dword [eax], 0x8007000e
jmp 0x73181177
xor edx, edx
mov eax, edx
mov ecx, 0x20
and eax, 0x1f
sub ecx, eax
mov dword [edx + ecx - 4], ecx
lea eax, [edx + ecx]
jmp 0x73180d46
push 0x1500
lea eax, [esp + 0x74]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x40]
push 0x30
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], 5
mov dword [esp + 0x58], ebx
mov eax, dword [eax + 0x208]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x44], eax
lea eax, [ecx + ecx*2]
add eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
mov eax, dword [edi + 0x68]
mov dword [esp + 0x50], eax
cmp esi, 1
jne 0x73180e07
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
test dword [eax + 0x220], 0x100
jne 0x73180e00
test dword [eax + 0x4c], 0x10000000
je 0x73180e00
mov eax, esi
jmp 0x73180e09
mov eax, 2
jmp 0x73180e09
mov eax, esi
mov esi, dword [esp + 0xc]
lea edx, [ecx*8]
sub edx, ecx
mov dword [esp + 0x54], eax
xor eax, eax
shl edx, 2
mov dword [esp + 0x30], edx
lea edx, [esp + 0x74]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
nop
mov ebx, dword [edi + 0x78]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x73180e9e
mov eax, dword [esp + 0xc]
mov esi, edx
mov edx, dword [edi + 0x58]
mov dword [esi - 4], ebx
mov dword [esi], ebx
test edx, edx
je 0x73180e84
lea eax, [esp + 0x34]
push eax
mov eax, dword [edi + 0x5c]
imul eax, dword [esp + 0x14]
push 0
add eax, edx
mov edx, ecx
push eax
lea ecx, [edi + 0x60]
call fcn.731709e0
mov eax, dword [esp + 0x44]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0xc]
inc ecx
shr ebx, 1
add esi, 0x1c
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jb 0x73180e43
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0xc]
add edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
cmp eax, 6
jb 0x73180e30
mov ebx, dword [esp + 0x24]
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
jbe 0x73180ee4
add ecx, 0x20
je 0x73180fe9
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
jne 0x73180feb
xor edx, edx
mov dword [edi + 0x54], edx
test edx, edx
je 0x73180d4d
lea eax, [ebx*4]
push eax
push 0
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [esp + 0x28], 3
je 0x73180f43
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x148]
mov ecx, esi
call dword [0x731fd4e8]
call esi
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
test eax, eax
js 0x73181177
mov eax, dword [esp + 0x54]
mov dword [edi + 0x6c], eax
mov eax, dword [esp + 0x88]
mov dword [edi + 0x18], eax
mov ecx, dword [esp + 0xc]
lea ebx, [esp + 0x88]
xor eax, eax
mov dword [esp + 0x1c], ebx
xor edx, edx
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
xor ebx, ebx
test ecx, ecx
je 0x73181088
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
lea eax, [edx + ebx]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x6c]
cmp eax, 2
je 0x73181001
cmp eax, 3
je 0x73181001
push 0x38
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
je 0x73181056
and eax, 0x1f
mov ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [edx - 4], ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x14], eax
mov dword [edx], 0x73151638
mov dword [edx + 4], 0
mov dword [edx + 8], edi
mov byte [edx + 0x10], bl
mov byte [edx + 0x11], cl
mov eax, dword [edi + 0x68]
and eax, 0x4000004
neg eax
sbb eax, eax
neg eax
mov dword [edx + 0xc], eax
mov dword [edx], 0x731515e0
jmp 0x73181058
xor edx, edx
mov eax, edx
mov ecx, 0x20
and eax, 0x1f
sub ecx, eax
add edx, ecx
mov dword [edx - 4], ecx
jmp 0x73180ee6
push 0x38
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, eax
test edx, edx
je 0x73181056
and eax, 0x1f
mov ecx, 0x20
sub ecx, eax
mov eax, dword [esp + 0x18]
add edx, ecx
mov dword [edx - 4], ecx
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x14], eax
mov dword [edx + 4], 0
mov dword [edx], 0x73151638
mov dword [edx + 8], edi
mov byte [edx + 0x10], bl
mov byte [edx + 0x11], cl
mov eax, dword [edi + 0x68]
and eax, 0x4000004
neg eax
sbb eax, eax
neg eax
mov dword [edx + 0xc], eax
jmp 0x73181058
xor edx, edx
mov eax, dword [edi + 0x54]
mov dword [esi + eax], edx
mov eax, dword [edi + 0x54]
cmp dword [esi + eax], 0
je 0x731810e1
add dword [esp + 0x18], 0x1c
inc ebx
mov ecx, dword [esp + 0xc]
add esi, 4
mov edx, dword [esp + 0x20]
cmp ebx, ecx
jb 0x73180f76
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x2c]
lea ebx, [ecx*4]
inc eax
add esi, ebx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
add edx, ecx
add dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], esi
cmp eax, 6
jb 0x73180f64
cmp dword [esp + 0x28], 1
jne 0x73181177
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax]
test dword [eax + 0x220], 0x100
jne 0x73181154
test dword [eax + 0x4c], 0x10000000
je 0x73181154
xor eax, eax
jmp 0x73181159
cmp dword [esp + 0x28], 3
mov eax, dword [esp + 0x14]
mov dword [eax], 0x8007000e
je 0x73181177
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
dec ecx
cmp edx, ecx
jae 0x73181177
lea eax, [edx*8]
sub eax, edx
lea ebx, [esp + 0x88]
sub ecx, edx
mov dword [esp + 0x24], ecx
lea ebx, [ebx + eax*4]
lea esp, [esp]
mov esi, dword [edi + 0x14]
mov eax, dword [esi + 0x208]
mov dword [esp + 0x34], eax
mov eax, dword [ebx]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov esi, dword [esi + 0x14c]
mov ecx, esi
push eax
call dword [0x731fd4e8]
call esi
sub dword [esp + 0x24], 1
lea ebx, [ebx + 0x1c]
jne 0x73181120
jmp 0x73181177
mov eax, 1
test eax, eax
je 0x73181177
lea ecx, [edi + 8]
call fcn.7317f020
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
jmp 0x73181177
mov eax, dword [esp + 0x14]
mov dword [eax], 0x8876086c
mov ecx, dword [esp + 0x1574]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.731efbf0
mov esp, ebp
pop ebp
ret 0x24