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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov eax, 0x200
cmp ecx, eax
push esi
push edi
jg 0x3012de73
cmp dword [ebp + 0x14], eax
jg 0x3012de73
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov edi, dword [eax]
movzx eax, word [esi + 0x88]
cmp eax, ecx
mov dword [ebp + 0xc], ecx
jl 0x3012daf3
mov dword [ebp + 0xc], eax
xor ebx, ebx
cmp eax, dword [ebp + 0xc]
jge 0x3012db89
lea ecx, [esi + 0xc]
push ecx
push dword [ebp + 0xc]
push eax
push dword [edi + 0x68]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x10]
push eax
push dword [ebp + 0xc]
movzx eax, word [esi + 0x88]
push eax
push dword [edi + 0x70]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
mov eax, dword [esi + 4]
mov eax, dword [eax]
cmp dword [eax + 0xc0], ebx
je 0x3012db89
lea eax, [esi + 8]
push eax
push dword [ebp + 0xc]
movzx eax, word [esi + 0x88]
push eax
push dword [edi + 0x3c]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
test byte [esi + 0x80], 8
jne 0x3012db89
lea eax, [esi + 0x1c]
push eax
push dword [ebp + 0xc]
movzx eax, word [esi + 0x88]
push eax
push dword [edi + 0x40]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
movzx eax, word [esi + 0x98]
cmp eax, dword [ebp + 0x10]
jge 0x3012dbb8
lea ecx, [esi + 0x14]
push ecx
push dword [ebp + 0x10]
push eax
push dword [edi + 0x6c]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
mov ax, word [ebp + 0x10]
mov word [esi + 0x98], ax
lea eax, [esi + 0x18]
cmp dword [eax], ebx
je 0x3012dc53
movzx ecx, word [esi + 0x88]
cmp ecx, dword [ebp + 0xc]
jge 0x3012dbe4
push eax
push dword [ebp + 0xc]
push ecx
push dword [edi + 0x74]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
test byte [esi + 0x80], 8
jne 0x3012dc86
lea eax, [esi + 0x28]
cmp dword [eax], ebx
je 0x3012dc62
movzx ecx, word [esi + 0x88]
cmp ecx, dword [ebp + 0xc]
jge 0x3012dc38
push eax
push dword [ebp + 0xc]
push ecx
push dword [edi + 0x78]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x2c]
push eax
movzx eax, word [esi + 0x88]
push dword [ebp + 0xc]
push eax
push dword [edi + 0x7c]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x3012de33
push eax
push ebx
push dword [ebp + 0xc]
push esi
call fcn.3012d714
jmp 0x3012de33
cmp dword [ebp + 0x18], ebx
je 0x3012dbe4
push eax
push dword [ebp + 0xc]
push ebx
jmp 0x3012dbd4
cmp dword [ebp + 0x18], ebx
je 0x3012dc38
push eax
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x78]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x2c]
push eax
push dword [ebp + 0xc]
push ebx
jmp 0x3012dc28
lea eax, [esi + 0x2c]
cmp dword [eax], ebx
je 0x3012de4c
movzx ecx, word [esi + 0x88]
cmp ecx, dword [ebp + 0xc]
jge 0x3012dcd1
push eax
push dword [ebp + 0xc]
push ecx
push dword [edi + 0x58]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x30]
push eax
movzx eax, word [esi + 0x88]
push dword [ebp + 0xc]
push eax
push dword [edi + 0x5c]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
movzx eax, word [esi + 0x8e]
cmp eax, dword [ebp + 0x14]
jge 0x3012de33
lea ecx, [esi + 0x1c]
push ecx
push dword [ebp + 0x14]
push eax
push dword [edi + 0x48]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x40]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x84]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x24]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x50]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x48]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x7c]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x44]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x78]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x38]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x80]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x34]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x60]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x3c]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x64]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
cmp dword [edi + 0xc0], ebx
je 0x3012de16
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x4c]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x28]
push eax
push dword [ebp + 0x14]
movzx eax, word [esi + 0x8e]
push eax
push dword [edi + 0x54]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
mov eax, dword [esi + 0x60]
cmp eax, ebx
je 0x3012de28
push eax
push dword [ebp + 0x14]
push ebx
push esi
call fcn.3012d714
mov ax, word [ebp + 0x14]
mov word [esi + 0x8e], ax
movzx ecx, word [esi + 0x88]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
jge 0x3012de48
mov word [esi + 0x88], ax
xor eax, eax
jmp 0x3012de76
cmp dword [ebp + 0x18], ebx
je 0x3012dcd1
push eax
push dword [ebp + 0xc]
push ebx
push dword [edi + 0x58]
call fcn.3012d1ea
cmp eax, ebx
jne 0x3012de76
lea eax, [esi + 0x30]
push eax
push dword [ebp + 0xc]
push ebx
jmp 0x3012dcc1
push 0xffffffffffffffc7
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x14