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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x480930
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x48a120]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp dword [0x4912f0], 0
mov esi, eax
mov dword [esp + 0xa4], esi
jne 0x44609d
call fcn.00430000
mov dword [0x4912f0], 0x4257c0
mov ecx, 2
mov dword [esp + 0x90], 0x408d10
mov dword [esp + 0x98], 2
call fcn.00437f20
mov ecx, 8
call fcn.004208d0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0xc8], 0
cmp dword [0x4912f0], 0
jne 0x446109
call fcn.00430000
mov dword [0x4912f0], 0x4257c0
mov ecx, 2
mov dword [esp + 0x3c], 0x408d10
mov dword [esp + 0x44], 2
call fcn.00437f20
mov ecx, 8
call fcn.004208d0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [eax + 4], 0
mov dword [eax], 0
push dword [ebp + 0x10]
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], 1
call fcn.00431760
mov byte [esp + 0xc8], 2
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x44617a
cmp dword [ebx + 0x30], 1
mov byte [esp + 0x16], 1
ja 0x44617f
mov byte [esp + 0x16], 0
mov ecx, dword [ebx + 0x4c]
mov eax, 0x2e8ba2e9
sub ecx, dword [ebx + 0x48]
xor esi, esi
mov edi, dword [ebp + 0xc]
imul ecx
mov dword [esp + 0x1c], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4464c1
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], esi
push dword [ebx + 0x30]
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x98]
call fcn.00434970
mov eax, dword [esp + 0x4c]
add esp, 8
cmp byte [esp + 0x16], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ecx
je 0x446399
mov ecx, dword [ebx + 0x30]
dec ecx
mov eax, ecx
shr eax, 5
cmp eax, dword [esp + 0x98]
jae 0x446399
mov edx, dword [esp + 0x9c]
and ecx, 0x1f
mov eax, dword [edx + eax*4]
shr eax, cl
and al, 1
je 0x446399
lea ecx, [esp + 0x28]
call fcn.00433730
lea eax, [esp + 0x90]
push eax
lea eax, [ebx + 0x34]
push eax
lea eax, [esp + 0xb0]
push eax
call fcn.00424580
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0xa4]
mov byte [esp + 0xc8], 3
mov ecx, dword [ebx + 0x48]
add ecx, esi
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov esi, eax
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
mov cl, byte [esi]
mov byte [esp + 0x50], cl
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x58]
call fcn.00431760
lea eax, [esi + 0x18]
mov byte [esp + 0xc8], 4
push eax
lea ecx, [esp + 0x6c]
call fcn.00431760
push edi
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 5
call fcn.00431760
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xcc], 6
call fcn.00449880
mov edx, dword [esp + 0x84]
xor eax, eax
mov esi, dword [esp + 0x88]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x446300
call fcn.0046994f
jmp 0x446305
call fcn.00469885
mov edx, dword [esp + 0x74]
xor eax, eax
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x44632c
call fcn.0046994f
jmp 0x446331
call fcn.00469885
mov edx, dword [esp + 0x60]
xor eax, eax
mov esi, dword [esp + 0x64]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x446358
call fcn.0046994f
jmp 0x44635d
call fcn.00469885
mov byte [esp + 0xcc], 2
mov edx, dword [esp + 0xb4]
mov esi, dword [esp + 0xb8]
xor eax, eax
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x44647b
call fcn.0046994f
jmp 0x446480
mov esi, dword [ebx + 0x48]
lea eax, [esp + 0x50]
add esi, dword [esp + 0x18]
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], eax
mov al, byte [esi]
mov byte [esp + 0x50], al
lea eax, [esi + 4]
push eax
call fcn.00431760
lea eax, [esi + 0x18]
mov byte [esp + 0xc8], 7
push eax
lea ecx, [esp + 0x6c]
call fcn.00431760
lea eax, [esp + 0x90]
mov byte [esp + 0xc8], 8
push eax
lea ecx, [esp + 0x80]
call fcn.00431760
lea eax, [esp + 0x50]
mov byte [esp + 0xc8], 9
push eax
mov ecx, edi
call fcn.00449880
mov byte [esp + 0xc8], 2
xor eax, eax
mov edx, dword [esp + 0x84]
mov ecx, edx
mov esi, dword [esp + 0x88]
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x446432
call fcn.0046994f
jmp 0x446437
call fcn.00469885
mov edx, dword [esp + 0x74]
xor eax, eax
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x446469
call fcn.0046994f
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
jmp 0x446373
call fcn.00469885
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
jmp 0x446373
call fcn.00469885
mov ecx, dword [ebx + 0x4c]
mov eax, 0x2e8ba2e9
sub ecx, dword [ebx + 0x48]
add esp, 4
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
inc edi
inc dword [esp + 0x1c]
add esi, 0x2c
imul ecx
mov dword [esp + 0x20], edi
sar edx, 3
mov eax, edx
mov dword [esp + 0x18], esi
shr eax, 0x1f
add eax, edx
cmp edi, eax
mov edi, dword [ebp + 0xc]
jb 0x4461b4
mov esi, dword [esp + 0x1c]
imul esi, esi, 0x2c
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x54]
add esi, dword [ebx + 0x48]
mov al, byte [esi]
mov byte [esp + 0x50], al
lea eax, [esi + 4]
push eax
call fcn.00431760
lea eax, [esi + 0x18]
mov byte [esp + 0xc8], 0xa
push eax
lea ecx, [esp + 0x6c]
call fcn.00431760
lea eax, [esp + 0x28]
mov byte [esp + 0xc8], 0xb
push eax
lea ecx, [esp + 0x80]
call fcn.00431760
lea eax, [esp + 0x50]
mov byte [esp + 0xc8], 0xc
push eax
mov ecx, edi
call fcn.00449880
mov edx, dword [esp + 0x84]
xor eax, eax
mov esi, dword [esp + 0x88]
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x44654e
call fcn.0046994f
jmp 0x446553
call fcn.00469885
mov edx, dword [esp + 0x74]
xor eax, eax
mov esi, dword [esp + 0x78]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x44657a
call fcn.0046994f
jmp 0x44657f
call fcn.00469885
mov edx, dword [esp + 0x60]
xor eax, eax
mov esi, dword [esp + 0x64]
add esp, 4
mov edi, esi
mov ecx, edx
rep stosd dword es:[edi], eax
lea eax, [edx*4]
push esi
cmp eax, 0x10
jb 0x4465a6
call fcn.0046994f
jmp 0x4465ab
call fcn.00469885
mov edx, dword [esp + 0x34]
xor eax, eax
mov esi, dword [esp + 0x38]
mov ecx, edx
mov edi, esi
add esp, 4
rep stosd dword es:[edi], eax
lea eax, [edx*4]
cmp eax, 0x10
jb 0x4465d2
push esi
call fcn.0046994f
jmp 0x4465db
push dword [esp + 0x34]
call fcn.00469885
mov esi, dword [esp + 0x48]
xor eax, eax
mov edx, dword [esp + 0x4c]
add esp, 4
mov edi, edx
mov ecx, esi
rep stosd dword es:[edi], eax
lea eax, [esi*4]
push edx
cmp eax, 0x10
jb 0x446602
call fcn.0046994f
jmp 0x446607
call fcn.00469885
mov ebx, dword [esp + 0x9c]
xor eax, eax
mov edx, dword [esp + 0xa0]
add esp, 4
mov edi, edx
mov ecx, ebx
rep stosd dword es:[edi], eax
lea eax, [ebx*4]
push edx
cmp eax, 0x10
jb 0x446634
call fcn.0046994f
jmp 0x446639
call fcn.00469885
add esp, 4
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc