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

Disassembly:
push 0xffffffffffffffff
push 0x48f9d9
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 0x4224b1
mov edx, dword [esp + 0x188]
lea ecx, [esp + 0x60]
push ecx
push ebx
push edx
push eax
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e2e0
cmp eax, ebx
je 0x4224b1
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x422492
lea edx, [esp + 0x78]
push str.AddReg
push edx
call fcn.00473380
add esp, 8
test eax, eax
je 0x421fe0
lea eax, [esp + 0x78]
push str.DelReg
push eax
call fcn.00473380
add esp, 8
test eax, eax
jne 0x422492
cmp dword [esp + 0x198], ebx
je 0x422492
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x422492
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x7c]
push ebx
push ecx
push edx
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e2e0
cmp eax, ebx
je 0x422464
push ebx
lea eax, [esp + 0x7c]
push 0x104
push eax
lea ecx, [esp + 0x5c]
push 1
push ecx
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x422442
mov eax, dword [esp + 0x190]
lea edx, [esp + 0x78]
push edx
push eax
call fcn.00473380
add esp, 8
test eax, eax
jne 0x422442
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4220b8
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.004052d0
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 0x4220e2
push 1
lea ecx, [esp + 0x18]
call fcn.004052d0
mov edi, 0x4b9200
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 0x4220f9
mov byte [eax], bl
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x42210e
mov esi, 1
mov byte [eax], bl
mov dword [esp + 0x34], esi
jmp 0x422113
mov esi, 1
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x422121
mov byte [eax], bl
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x44]
cmp eax, ebx
je 0x42212f
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x4221c5
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x422197
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.004052d0
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 0x4221c0
push esi
lea ecx, [esp + 0x24]
call fcn.004052d0
mov edi, 0x4b9200
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x42225c
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42222d
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.004052d0
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 0x422257
push 1
lea ecx, [esp + 0x30]
call fcn.004052d0
mov edi, 0x4b9200
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x4222f3
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4222c4
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.004052d0
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 0x4222ee
push 1
lea ecx, [esp + 0x3c]
call fcn.004052d0
mov edi, 0x4b9200
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
je 0x42238a
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42235b
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.004052d0
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 0x422385
push 1
lea ecx, [esp + 0x48]
call fcn.004052d0
mov edi, 0x4b9200
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 0x42243d
lea ecx, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebp], ecx
je 0x42243d
push 0x3c
call fcn.0048621c
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, ebx
mov byte [esp + 0x184], 1
je 0x4223cb
mov ecx, eax
call fcn.004224f0
jmp 0x4223cd
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.00405350
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
call fcn.00405350
mov ecx, dword [esp + 0x44]
push ecx
mov ecx, dword [ebp + esi*4 + 0x1f8]
add ecx, 0x30
call fcn.00405350
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push edx
add ecx, 0x18
call fcn.00405350
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
add ecx, 0x24
call fcn.00405350
push esi
mov ecx, ebp
call fcn.00420c50
mov esi, 1
lea ecx, [esp + 0x50]
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e200
cmp eax, ebx
jne 0x422031
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.0040d9c0
mov ecx, eax
call fcn.0040e240
test eax, eax
jne 0x42200e
lea eax, [esp + 0x64]
lea ecx, [esp + 0x64]
push eax
push ecx
call fcn.0040d9c0
mov ecx, eax
call fcn.0040e200
cmp eax, ebx
jne 0x421f7e
pop ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x180], 0xffffffff
call fcn.0040ea10
mov ecx, dword [esp + 0x178]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret 0x10