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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5241bb
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x55bb24]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x55bb24]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x30], eax
cmp byte [edi + 0x8c], bl
jne 0x412d0a
xor al, al
jmp 0x412fb5
push 9
push str.id_groups
lea ecx, [esp + 0x60]
mov dword [esp + 0x78], 0xf
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00403c20
mov dword [esp + 0xa0], ebx
cmp byte [edi + 0x8c], bl
je 0x412d55
cmp dword [edi + 0x34], ebx
je 0x412d55
push 1
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [edi + 0x1c]
call fcn.0040dc40
mov esi, eax
mov dword [esp + 0x1c], esi
jmp 0x412d5b
mov dword [esp + 0x1c], ebx
mov esi, ebx
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x70], 0x10
jb 0x412d7a
mov edx, dword [esp + 0x5c]
push edx
call fcn.004f0cfc
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp esi, ebx
je 0x412d03
mov eax, dword [esi + 0x14]
mov edi, dword [eax]
mov dword [esp + 0x18], edi
cmp edi, eax
je 0x412fb3
jmp 0x412da9
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + 0x40]
push 8
add ecx, 0x2c
push str.id_group
push eax
push ebx
call fcn.00402f20
test eax, eax
jne 0x412fa4
mov eax, dword [edi + 8]
lea edi, [eax + 4]
mov eax, 0xf
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0xa0], 1
push 4
push str.name
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00403c20
mov byte [esp + 0xa0], 2
mov ecx, dword [edi + 4]
lea esi, [esp + 0x3c]
lea ebx, [esp + 0x38]
mov dword [esp + 0x34], ecx
call fcn.004165b0
mov edx, dword [esp + 0x34]
cmp dword [eax], edx
mov esi, 0x10
setne byte [esp + 0x17]
mov byte [esp + 0xa0], 1
cmp dword [esp + 0x54], esi
jb 0x412e53
mov eax, dword [esp + 0x40]
push eax
call fcn.004f0cfc
add esp, 4
xor ebx, ebx
cmp byte [esp + 0x17], bl
je 0x412eb0
push 4
push str.name
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.00403c20
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xa4], 3
call fcn.00416350
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
call fcn.00402e40
cmp dword [esp + 0x54], esi
jb 0x412eb0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004f0cfc
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0xa0], 4
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
mov edi, dword [eax]
mov eax, dword [esi + 8]
cmp edi, dword [eax + 0x14]
je 0x412f0d
mov ecx, dword [edi + 8]
mov edx, dword [ecx + 0x40]
push 2
add ecx, 0x2c
push 0x538604
push edx
push ebx
call fcn.00402f20
test eax, eax
jne 0x412f03
mov eax, dword [edi + 8]
add eax, 0x48
push eax
lea eax, [esp + 0x24]
call fcn.00417380
mov edi, dword [edi]
mov eax, dword [esi + 8]
cmp edi, dword [eax + 0x14]
jne 0x412ed8
cmp dword [esp + 0x88], ebx
je 0x412f30
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x78]
call fcn.00416f80
push eax
call fcn.004171d0
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x412f56
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x28]
push edx
call fcn.0041de30
mov eax, dword [esp + 0x28]
add esp, 4
push eax
call fcn.004f0cfc
add esp, 4
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x8c], 0x10
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jb 0x412f84
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004f0cfc
add esp, 4
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x8c], 0xf
xor ebx, ebx
mov edi, dword [edi]
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x14]
jne 0x412da5
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.004f070d
mov esp, ebp
pop ebp
ret 4