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

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
cmp ebx, eax
je 0x411448
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
lea esi, [ebx + 0xc]
lea ebp, [edi + 8]
mov ecx, dword [ebx]
mov eax, dword [edi]
cmp ecx, eax
je 0x411194
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41116a
mov edx, dword [0x4c2084]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x411171
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41117f
push eax
mov eax, dword [eax - 8]
push eax
mov ecx, ebx
call fcn.00405750
jmp 0x411194
mov ecx, ebx
call fcn.00405a90
mov eax, dword [edi]
mov dword [ebx], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebp
lea ecx, [esi - 4]
call fcn.00410630
mov ecx, dword [edi + 0xc]
mov dword [esi], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 4], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 8], eax
mov ecx, dword [edi + 0x18]
lea eax, [edi + 0x1c]
mov dword [esi + 0xc], ecx
push eax
lea ecx, [esi + 0x10]
call fcn.00410630
lea eax, [edi + 0x20]
lea ecx, [esi + 0x14]
push eax
call fcn.00410630
lea eax, [edi + 0x24]
lea ecx, [esi + 0x18]
push eax
call fcn.00410630
lea eax, [edi + 0x28]
lea ecx, [esi + 0x1c]
push eax
call fcn.00410630
lea eax, [edi + 0x2c]
lea ecx, [esi + 0x20]
push eax
call fcn.00410630
lea eax, [edi + 0x30]
lea ecx, [esi + 0x24]
push eax
call fcn.00410630
mov edx, dword [edi + 0x34]
lea eax, [edi + 0x38]
push eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x28], edx
call fcn.00410630
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x30]
push eax
call fcn.00410630
lea eax, [edi + 0x40]
lea ecx, [esi + 0x34]
push eax
call fcn.00410630
lea eax, [edi + 0x44]
lea ecx, [esi + 0x38]
push eax
call fcn.004126c0
lea eax, [edi + 0x54]
lea ecx, [esi + 0x48]
push eax
call fcn.00410630
lea eax, [edi + 0x58]
lea ecx, [esi + 0x4c]
push eax
call fcn.00410630
lea eax, [edi + 0x5c]
lea ecx, [esi + 0x50]
push eax
call fcn.00410630
lea eax, [edi + 0x60]
lea ecx, [esi + 0x54]
push eax
call fcn.00410630
lea eax, [edi + 0x64]
lea ecx, [esi + 0x58]
push eax
call fcn.00410630
lea eax, [edi + 0x68]
lea ecx, [esi + 0x5c]
push eax
call fcn.00410630
lea eax, [edi + 0x6c]
lea ecx, [esi + 0x60]
push eax
call fcn.00410630
lea eax, [edi + 0x70]
lea ecx, [esi + 0x64]
push eax
call fcn.00410630
lea eax, [edi + 0x74]
lea ecx, [esi + 0x68]
push eax
call fcn.00410630
lea eax, [edi + 0x78]
lea ecx, [esi + 0x6c]
push eax
call fcn.004126c0
mov eax, dword [edi + 0x88]
mov dword [esi + 0x7c], eax
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x80], ecx
mov edx, dword [edi + 0x90]
mov dword [esi + 0x84], edx
mov eax, dword [edi + 0x94]
mov dword [esi + 0x88], eax
mov ecx, dword [edi + 0x98]
mov dword [esi + 0x8c], ecx
mov edx, dword [edi + 0x9c]
mov dword [esi + 0x90], edx
mov eax, dword [edi + 0xa0]
mov dword [esi + 0x94], eax
mov ecx, dword [edi + 0xa4]
mov dword [esi + 0x98], ecx
mov edx, dword [edi + 0xa8]
mov dword [esi + 0x9c], edx
mov eax, dword [edi + 0xac]
mov dword [esi + 0xa0], eax
mov ecx, dword [edi + 0xb0]
mov dword [esi + 0xa4], ecx
mov edx, dword [edi + 0xb4]
lea eax, [edi + 0xb8]
lea ecx, [esi + 0xac]
push eax
mov dword [esi + 0xa8], edx
call fcn.00410630
mov eax, dword [edi + 0xbc]
mov dword [esi + 0xb0], eax
mov ecx, dword [edi + 0xc0]
mov dword [esi + 0xb4], ecx
mov edx, dword [edi + 0xc4]
lea eax, [edi + 0xc8]
lea ecx, [esi + 0xbc]
push eax
mov dword [esi + 0xb8], edx
call fcn.00410630
mov eax, dword [edi + 0xd0]
mov dword [esi + 0xc4], eax
mov ecx, dword [edi + 0xd4]
mov dword [esi + 0xc8], ecx
mov edx, dword [edi + 0xd8]
mov dword [esi + 0xcc], edx
mov eax, dword [edi + 0xdc]
mov dword [esi + 0xd0], eax
lea eax, [edi + 0xe0]
push eax
lea ecx, [esi + 0xd4]
call fcn.004126c0
lea eax, [edi + 0xf0]
lea ecx, [esi + 0xe4]
push eax
call fcn.004126c0
lea eax, [edi + 0x100]
lea ecx, [esi + 0xf4]
push eax
call fcn.00410630
lea eax, [edi + 0x104]
lea ecx, [esi + 0xf8]
push eax
call fcn.00410630
lea eax, [edi + 0x108]
lea ecx, [esi + 0xfc]
push eax
call fcn.00410630
lea eax, [edi + 0x10c]
lea ecx, [esi + 0x100]
push eax
call fcn.00410630
lea eax, [edi + 0x110]
lea ecx, [esi + 0x104]
push eax
call fcn.00410630
mov eax, dword [esp + 0x18]
add ebx, 0x118
add esi, 0x118
cmp ebx, eax
jne 0x41114e
pop edi
pop esi
pop ebp
pop ebx
ret