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

Disassembly:
sub esp, 0x380
mov eax, dword [0x100504f0]
xor eax, esp
mov dword [esp + 0x37c], eax
mov eax, dword [esp + 0x38c]
mov ecx, 0x51
push ebx
mov ebx, dword [esp + 0x3a4]
push ebp
mov ebp, dword [esp + 0x38c]
push esi
mov dword [esp + 0x28], eax
mov esi, 0x10002078
mov eax, dword [esp + 0x39c]
mov edx, dword [ebp + 0x10]
push edi
mov dword [esp + 0x70], eax
lea edi, [esp + 0xc0]
mov eax, dword [esp + 0x3ac]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x3a4]
mov edi, 0x20
mov dword [esp + 0x34], 0
mov dword [esp + 0x7c], 1
mov ecx, dword [edx + 0x54]
mov dword [esp + 0x74], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0xd0], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0xcc], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x20], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x68], 1
mov dword [esp + 0x6c], 0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0
cmp esi, 8
jne 0x1001fead
mov word [esp + 0xe0], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0xf4], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0xf0], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], 0
cmp esi, 8
jne 0x1001ff09
mov word [esp + 0x104], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x118], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x114], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], 0
cmp esi, 8
jne 0x1001ff65
mov word [esp + 0x128], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x13c], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x138], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], 0
cmp esi, 8
jne 0x1001ffc1
mov word [esp + 0x14c], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x160], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x15c], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], 0
cmp esi, 8
jne 0x1002001d
mov word [esp + 0x170], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x184], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x180], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], 0
cmp esi, 8
jne 0x10020079
mov word [esp + 0x194], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x1a8], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x1a4], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], 0
cmp esi, 8
jne 0x100200d5
mov word [esp + 0x1b8], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x1cc], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x1c8], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x1d4], 0
cmp esi, 8
jne 0x10020131
mov word [esp + 0x1dc], di
mov ecx, dword [edx + 0x54]
movzx eax, word [edx + 0x58]
mov word [esp + 0x1c], ax
shr ecx, 0x10
mov dword [esp + 0x1f0], ecx
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x58]
mov word [esp + 0x14], ax
movzx eax, word [esp + 0x10]
mov dword [esp + 0x1ec], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x18], eax
movzx eax, word [edx + 0x58]
mov dword [esp + 0x1f4], eax
mov dword [esp + 0x1f8], 0
cmp esi, 8
jne 0x1002018d
mov word [esp + 0x200], di
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp esi, 8
mov dword [esp + 0x98], 9
push ebx
setne al
mov word [esp + 0x98], di
and byte [esp + 0xa4], 0xe0
add eax, 5
mov dword [esp + 0x94], eax
lea eax, [esp + 0xc4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa8]
and eax, 0xfffffff2
mov dword [esp + 0xac], 0
or eax, 2
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x94]
push eax
call fcn.10030980
test byte [ebx], 8
mov dword [esp + 0x28], eax
jne 0x10020843
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x64], edi
test eax, eax
je 0x10020276
cmp word [eax], 0
je 0x10020276
push ebx
push eax
push 0xf000000
mov ecx, ebp
call fcn.10028060
test byte [ebx], 8
jne 0x1002070f
mov eax, dword [edi]
lea ecx, [esp + 0x34]
push ebx
push 0
push 4
push ecx
push dword [ebp + 0x20]
mov ecx, edi
call dword [eax + 0x6c]
test byte [ebx], 8
jne 0x1002070f
mov ecx, dword [edi + 0x24]
lea edx, [esp + 0x34]
push ebx
push 0
push 4
mov eax, dword [ecx]
push edx
call dword [eax + 0x18]
test byte [ebx], 8
jne 0x1002070f
mov ecx, dword [edi + 0x24]
push ebx
push 5
mov eax, dword [ecx]
call dword [eax + 0x1c]
jmp 0x10020280
mov eax, dword [edi]
mov ecx, edi
push ebx
push 0
call dword [eax + 8]
test byte [ebx], 8
jne 0x1002070f
push 0x158
call fcn.10044652
add esp, 4
test eax, eax
je 0x100202af
push ebx
push edi
mov ecx, eax
call fcn.10012c30
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
jne 0x100202c3
jmp 0x100202b5
xor esi, esi
mov dword [esp + 0x20], esi
push 1
push 0xfffffc0d
mov ecx, ebx
call fcn.1001c1e0
test byte [ebx], 8
jne 0x100202d5
mov eax, dword [esi]
mov ecx, esi
push ebx
push 0x100021d0
call dword [eax + 8]
test byte [ebx], 1
jne 0x100202fb
cmp dword [ebx + 4], 0xfffffa84
jne 0x100202fb
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x68], 3
jne 0x100202fb
mov ecx, ebx
call fcn.1001c120
mov dword [esp + 0x68], 0
test byte [ebx], 8
jne 0x1002070f
mov eax, dword [edi]
lea ecx, [esp + 0x30]
push ebx
push 0
push 4
push ecx
push dword [ebp + 0x28]
mov ecx, edi
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
call dword [eax + 0x6c]
mov eax, dword [esp + 0x398]
test eax, eax
je 0x1002034d
cmp eax, dword [esp + 0x30]
jne 0x100206f9
test byte [ebx], 8
je 0x10020378
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x68], 3
jne 0x1002070f
push ebx
lea ecx, [esp + 0x80]
call fcn.1001bf90
mov ecx, ebx
call fcn.1001c120
jmp 0x100206f9
mov eax, dword [edi]
lea ecx, [esp + 0x24]
push ebx
push 0
push 4
push ecx
push dword [ebp + 0x1c]
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1002039e
cmp dword [esp + 0x24], eax
jne 0x1002070f
test byte [ebx], 8
jne 0x10020352
mov eax, dword [edi]
lea ecx, [esp + 0x308]
push ebx
push 0
push 0x82
push ecx
push dword [ebp + 0x24]
mov ecx, edi
call dword [eax + 0x6c]
test byte [ebx], 8
mov dword [esp + 0x2c], eax
jne 0x10020352
mov esi, dword [esp + 0x70]
test esi, esi
je 0x1002043f
cmp word [esi], 0
je 0x1002043f
mov ecx, dword [ebp + 0x10]
movzx edi, word [ecx + 0x58]
mov esi, dword [ecx + 0x5c]
call fcn.100184c0
lea ecx, [esp + 0x308]
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x50], ecx
mov ecx, esi
mov word [esp + 0x58], di
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10020414
sub ecx, edx
sar ecx, 1
push 0
lea eax, [ecx + ecx]
push eax
push esi
lea ecx, [esp + 0x58]
call fcn.10037650
mov edi, dword [esp + 0x64]
test eax, eax
jne 0x100206f9
test byte [ebx], 8
jne 0x10020352
mov eax, dword [edi]
lea ecx, [esp + 0xb8]
push ebx
push 0
push 8
push ecx
push dword [ebp + 0x2c]
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [edi]
lea ecx, [esp + 0xb0]
push ebx
push 0
push 8
push ecx
push dword [ebp + 0x30]
mov ecx, edi
call dword [eax + 0x6c]
mov eax, dword [edi]
lea ecx, [esp + 0x10]
push ebx
push 0
push 4
push ecx
push dword [ebp + 0x38]
mov ecx, edi
call dword [eax + 0x6c]
test byte [ebx], 8
jne 0x10020352
mov eax, dword [esp + 0x24]
cmp eax, 0xf000000
je 0x100205a1
cmp eax, dword [esp + 0x38]
je 0x100205a1
cmp dword [esp + 0x68], 0
lea edx, [esp + 0x4c]
mov esi, dword [esp + 0x20]
push edx
mov dword [esp + 0x50], 1
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 0x24]
push 0
mov eax, dword [ecx]
je 0x100204ee
push 4
lea edx, [esp + 0x30]
push edx
call dword [eax + 0x18]
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x4c]
push edx
push 0
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esp + 0x4c]
jmp 0x10020548
push 1
call dword [eax + 8]
mov ecx, dword [esp + 0x4c]
test cl, 8
jne 0x10020578
lea esp, [esp]
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 4
lea ecx, [esp + 0x84]
push ecx
push dword [ebp + 0x20]
mov ecx, esi
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x4c]
test cl, 8
jne 0x1002052e
mov eax, dword [esp + 0x78]
cmp eax, dword [esp + 0x24]
je 0x10020548
mov ecx, dword [esi + 0x24]
lea edx, [esp + 0x4c]
push edx
push 2
push 1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x4c]
test cl, 8
je 0x10020500
test cl, 8
jne 0x10020578
mov eax, dword [esi]
lea ecx, [esp + 0x4c]
push ecx
push 0
push 0x104
lea ecx, [esp + 0x210]
push ecx
push dword [ebp + 0x24]
mov ecx, esi
call dword [eax + 0x6c]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], eax
test cl, 8
je 0x10020590
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], 0
push eax
mov ecx, ebx
call fcn.1001bf90
mov ecx, dword [esp + 0x4c]
test ecx, 0xfffffffe
je 0x100205a1
lea ecx, [esp + 0x4c]
call fcn.1001c060
test byte [ebx], 8
jne 0x10020352
cmp dword [esp + 0x3a4], 2
jne 0x1002061a
cmp dword [esp + 0x30], 1
jne 0x1002061a
mov eax, dword [edi]
lea ecx, [esp + 0x44]
push ebx
push 0
push 4
push ecx
push dword [ebp + 0x20]
mov ecx, edi
call dword [eax + 0x6c]
test byte [ebx], 8
jne 0x1002061a
push dword [esp + 0x44]
mov ecx, dword [ebp + 0x10]
call fcn.10018060
mov esi, eax
test esi, esi
je 0x100205fc
mov ecx, esi
call fcn.1003ea40
push ebx
push ebp
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.1003e900
jmp 0x10020616
push ebx
push dword [esp + 0x48]
push ebp
call fcn.1003eb00
push ebx
push dword [esp + 0x48]
mov dword [esp + 0x48], eax
push ebp
call fcn.1003e960
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
push ebx
push 0
mov eax, dword [esi]
call dword [eax + 0x14]
cmp dword [esp + 0x24], 0xf000000
je 0x1002064a
mov eax, dword [esi]
lea ecx, [esp + 0x204]
push ebx
push 0
push dword [esp + 0x74]
push ecx
push 0
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x308]
push ebx
push 0
push dword [esp + 0x34]
push ecx
push 1
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x30]
push ebx
push 0
push 4
push ecx
push 2
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0xb8]
push ebx
push 0
push 8
push ecx
push 3
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0xb0]
push ebx
push 0
push 8
push ecx
push 4
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x18]
push ebx
push 0
push 4
push ecx
push 5
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ebx
push 0
push 4
push ecx
push 6
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x40]
push ebx
push 0
push 4
push ecx
push 7
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ebx
push 0
push 4
push ecx
push 8
mov ecx, esi
call dword [eax + 0x64]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
inc dword [esp + 0x48]
mov ecx, dword [edi + 0x24]
push ebx
push 2
push 1
mov eax, dword [ecx]
call dword [eax + 8]
test byte [ebx], 8
je 0x10020304
mov eax, dword [ebx]
test al, 8
je 0x10020730
and eax, 1
jne 0x10020723
cmp dword [ebx + 4], 0xfffff9bd
je 0x10020730
test eax, eax
jne 0x10020769
cmp dword [ebx + 4], 0xfffff9bf
jne 0x10020769
mov ecx, ebx
call fcn.1001c120
cmp dword [esp + 0x3a4], 8
mov esi, dword [esp + 0x28]
jne 0x1002076d
mov ecx, dword [esi + 0x24]
push ebx
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 8]
test byte [ebx], 1
jne 0x1002076d
cmp dword [ebx + 4], 0xfffff9bd
jne 0x1002076d
mov ecx, ebx
call fcn.1001c120
jmp 0x1002076d
mov esi, dword [esp + 0x28]
test byte [ebx], 8
jne 0x10020811
push 0x10001fa8
push esi
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x10052a54]
push dword [esp + 0x3b4]
mov eax, dword [eax + 0x24]
call eax
mov edi, eax
test edi, edi
jns 0x100207b0
test esi, esi
je 0x100207a4
mov edx, dword [esi]
mov ecx, esi
push 1
call dword [edx]
push 1
push edi
mov ecx, ebx
call fcn.1001c1e0
jmp 0x1002081d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x48]
push ecx
mov dword [eax + 4], ecx
mov ecx, esi
mov dword [eax], 0x30
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 1
mov dword [eax + 0x14], 2
mov dword [eax + 0x18], 3
mov dword [eax + 0x1c], 4
mov dword [eax + 0x20], 5
mov dword [eax + 0x24], 6
mov dword [eax + 0x28], 7
mov dword [eax + 0x2c], 8
mov eax, dword [esi]
call dword [eax + 0x58]
jmp 0x1002081d
test esi, esi
je 0x1002081d
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1002082b
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebx], 8
jne 0x10020843
test byte [esp + 0x7c], 8
je 0x10020843
lea eax, [esp + 0x7c]
mov ecx, ebx
push eax
call fcn.1001bf90
test dword [esp + 0x7c], 0xfffffffe
pop edi
pop esi
pop ebp
pop ebx
je 0x1002085a
lea ecx, [esp + 0x6c]
call fcn.1001c060
mov ecx, dword [esp + 0x37c]
xor ecx, esp
call fcn.10044550
add esp, 0x380
ret 0x20