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

Disassembly:
push 0xffffffffffffffff
push 0x483309
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x5c], edi
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x180], ebx
cmp eax, 0xffffffff
je 0x41f861
mov edx, dword [esp + 0x188]
lea ecx, [esp + 0x60]
push ecx
push ebx
push edx
push eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d270
cmp eax, ebx
je 0x41f861
push ebp
mov ebp, dword [esp + 0x194]
push ebx
lea eax, [esp + 0x7c]
push 0x104
push eax
lea ecx, [esp + 0x70]
push ebx
push ecx
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f842
lea edx, [esp + 0x78]
push str.AddReg
push edx
call fcn.00466fc0
add esp, 8
test eax, eax
je 0x41f390
lea eax, [esp + 0x78]
push str.DelReg
push eax
call fcn.00466fc0
add esp, 8
test eax, eax
jne 0x41f842
cmp dword [esp + 0x198], ebx
je 0x41f842
push ebx
lea ecx, [esp + 0x7c]
push 0x104
push ecx
lea edx, [esp + 0x70]
push 1
push edx
mov dword [esp + 0x24], 1
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f842
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x7c]
push ebx
push ecx
push edx
call fcn.0040c920
mov ecx, eax
call fcn.0040d270
cmp eax, ebx
je 0x41f814
push ebx
lea eax, [esp + 0x7c]
push 0x104
push eax
lea ecx, [esp + 0x5c]
push 1
push ecx
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f7f2
mov eax, dword [esp + 0x190]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.00466fc0
add esp, 8
test eax, eax
jne 0x41f7f2
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41f468
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.00405020
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41f492
push 1
lea ecx, [esp + 0x18]
call fcn.00405020
mov edi, 0x4aa6c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41f4a9
mov byte [eax], bl
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x41f4be
mov esi, 1
mov byte [eax], bl
mov dword [esp + 0x34], esi
jmp 0x41f4c3
mov esi, 1
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x41f4d1
mov byte [eax], bl
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x41f4df
mov byte [eax], bl
mov dword [esp + 0x4c], esi
push ebx
lea ecx, [esp + 0x7c]
push 0x104
push ecx
lea edx, [esp + 0x5c]
push 2
push edx
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f575
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41f547
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00405020
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x41f570
push esi
lea ecx, [esp + 0x24]
call fcn.00405020
mov edi, 0x4aa6c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea eax, [esp + 0x7c]
push 0x104
push eax
lea ecx, [esp + 0x5c]
push 3
push ecx
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f60c
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41f5dd
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x30]
call fcn.00405020
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41f607
push 1
lea ecx, [esp + 0x30]
call fcn.00405020
mov edi, 0x4aa6c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea ecx, [esp + 0x7c]
push 0x104
push ecx
lea edx, [esp + 0x5c]
push 4
push edx
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f6a3
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41f674
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x3c]
call fcn.00405020
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x41f69e
push 1
lea ecx, [esp + 0x3c]
call fcn.00405020
mov edi, 0x4aa6c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
lea eax, [esp + 0x7c]
push 0x104
push eax
lea ecx, [esp + 0x5c]
push 5
push ecx
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
je 0x41f73a
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x41f70b
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x48]
call fcn.00405020
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41f735
push 1
lea ecx, [esp + 0x48]
call fcn.00405020
mov edi, 0x4aa6c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp]
cmp esi, 0x1f4
jae 0x41f7ed
lea ecx, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebp], ecx
je 0x41f7ed
push 0x3c
call fcn.00479e3c
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, ebx
mov byte [esp + 0x184], 1
je 0x41f77b
mov ecx, eax
call fcn.0041f8a0
jmp 0x41f77d
xor eax, eax
mov dword [ebp + esi*4 + 0x1f8], eax
mov edx, dword [esp + 0x20]
push edx
lea ecx, [eax + 0xc]
mov byte [esp + 0x188], bl
call fcn.004050a0
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
call fcn.004050a0
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [ebp + esi*4 + 0x1f8]
add ecx, 0x30
call fcn.004050a0
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push edx
add ecx, 0x18
call fcn.004050a0
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
add ecx, 0x24
call fcn.004050a0
push esi
mov ecx, ebp
call fcn.0041e2b0
mov esi, 1
lea ecx, [esp + 0x50]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0040c920
mov ecx, eax
call fcn.0040d190
cmp eax, ebx
jne 0x41f3e1
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x7c]
inc eax
push 0x104
push ecx
lea edx, [esp + 0x70]
push eax
push edx
mov dword [esp + 0x24], eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d1d0
test eax, eax
jne 0x41f3be
lea eax, [esp + 0x64]
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.0040c920
mov ecx, eax
call fcn.0040d190
cmp eax, ebx
jne 0x41f32e
pop ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x180], 0xffffffff
call fcn.0040d930
mov ecx, dword [esp + 0x178]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret 0x10