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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push 8
mov edi, ebx
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 8]
add eax, 0x28
mov dword [ebp - 0x10], edi
pop edx
mov ecx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
call fcn.0041ba11
mov dword [esi + 0x14], ebx
inc ebx
cmp dword [esi + 0x50], 7
jne 0x41baf2
mov edi, dword [ebp - 0x18]
mov byte [edi + 0x40], bl
jmp 0x41bd8e
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x20]
and eax, 3
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
jne 0x41bb3f
mov eax, dword [esi + 8]
add eax, 0x168
mov dword [ebp - 0xc], eax
test byte [eax + 0x1c], 0x10
je 0x41bb25
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 4]
shr edi, 2
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
xor ecx, ecx
test edi, edi
je 0x41bb3f
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + ecx*4]
add edx, dword [eax + 4]
inc ecx
cmp ecx, edi
jl 0x41bb2e
xor ebx, ebx
mov dword [ebp - 0x14], edx
inc ebx
mov edi, dword [ebp - 0x1c]
mov edx, dword [esi + 0x4c]
lea eax, [edx + 1]
mov dword [esi + 0x4c], eax
cmp edx, dword [ebp - 0x14]
jge 0x41bd87
imul ecx, edx, 0x14
cmp edi, 2
jne 0x41bb65
mov eax, dword [esi + 4]
cmp byte [ecx + eax], 0x9d
jne 0x41bb42
mov edi, dword [ebp - 0x18]
cmp dword [edi + 0xe8], 0
je 0x41bb94
push 9
pop ecx
mov dword [esi + 0x50], ecx
call fcn.0044ef3c
push eax
push 0x475074
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.00406dc5
add esp, 0x10
jmp 0x41bd8e
cmp edx, dword [esi + 0x20]
jge 0x41bba0
mov edi, dword [esi + 4]
add edi, ecx
jmp 0x41bbc1
mov edi, dword [ebp - 8]
sub edx, dword [esi + 0x20]
xor ecx, ecx
mov eax, dword [edi]
jmp 0x41bbb2
sub edx, eax
inc ecx
mov eax, dword [edi + ecx*4]
mov eax, dword [eax + 4]
cmp edx, eax
jge 0x41bbac
mov eax, dword [edi + ecx*4]
imul edi, edx, 0x14
add edi, dword [eax]
mov ecx, dword [esi + 0x58]
and cl, 3
push 4
cmp cl, bl
mov ecx, dword [ebp - 4]
pop eax
jne 0x41bc82
mov word [ecx + 0x1c], ax
mov eax, edx
cdq
mov dword [ecx + 0x10], eax
mov eax, 0xa02
mov word [ecx + 0x44], ax
mov dword [ecx + 0x14], edx
movzx eax, byte [edi]
mov ecx, dword [eax*4 + 0x474580]
mov eax, dword [ebp - 4]
mov dword [eax + 0x2c], ecx
call fcn.00408772
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x40], eax
mov byte [ecx + 0x46], bl
add ecx, 0x50
cmp byte [edi + 1], 0xee
mov dword [ebp - 0x14], ecx
jne 0x41bc82
mov edx, dword [ebp - 0x10]
xor eax, eax
test edx, edx
je 0x41bc31
mov ecx, dword [ebp - 8]
mov esi, dword [edi + 0x10]
cmp dword [ecx + eax*4], esi
je 0x41bc2e
inc eax
cmp eax, edx
jl 0x41bc24
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
cmp eax, edx
jne 0x41bc82
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
xor eax, eax
test edx, edx
lea edx, [edx*4 + 4]
setne al
push eax
call fcn.0041a347
pop ecx
test eax, eax
jne 0x41bc7f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x10]
mov dword [ecx + edx*4], eax
lea ecx, [edx*4 + 4]
mov eax, dword [ebp - 0xc]
or word [eax + 0x1c], 0x10
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x14]
jmp 0x41bc82
mov ecx, dword [ebp - 4]
push 4
pop edx
mov word [ecx + 0x1c], dx
mov eax, dword [edi + 4]
cdq
mov dword [ecx + 0x10], eax
push 4
pop eax
mov word [ecx + 0x44], ax
mov dword [ecx + 0x14], edx
mov eax, dword [edi + 8]
cdq
mov dword [ecx + 0x38], eax
push 4
pop eax
mov dword [ecx + 0x3c], edx
mov word [ecx + 0x6c], ax
mov eax, dword [edi + 0xc]
cdq
mov dword [ecx + 0x60], eax
lea eax, [ecx + 0x78]
push 0
mov dword [ecx + 0x64], edx
mov ecx, eax
push 0x20
pop edx
mov dword [ebp - 4], eax
call fcn.0041a347
pop ecx
test eax, eax
jne 0x41bd8e
mov eax, dword [ebp - 4]
mov ecx, 0x202
push ecx
mov edx, dword [eax + 4]
mov word [eax + 0x1c], cx
mov ecx, edi
call fcn.0041b709
mov edx, dword [ebp - 4]
pop ecx
mov ecx, dword [edx + 4]
cmp eax, ecx
je 0x41bd09
mov ecx, dword [ebp - 4]
mov edx, eax
push 0
push ebx
push 0xffffffffffffffff
call fcn.0041aa58
mov edx, dword [ebp - 4]
add esp, 0xc
jmp 0x41bd14
call fcn.00408772
mov dword [edx + 0x18], eax
mov byte [edx + 0x1e], bl
mov eax, dword [esi + 0x58]
lea ecx, [edx + 0x28]
and al, 3
cmp al, bl
jne 0x41bd65
push 0
push 4
pop eax
mov edx, eax
call fcn.0041a347
pop ecx
test eax, eax
jne 0x41bd8e
mov ecx, dword [ebp - 4]
mov edx, 0x202
mov word [ecx + 0x44], dx
mov dword [ecx + 0x40], 2
movzx eax, byte [edi + 3]
push eax
push str._.2x
push dword [ecx + 0x2c]
push 3
call fcn.00407fd3
mov eax, dword [ebp - 4]
add esp, 0x10
mov byte [eax + 0x46], bl
mov word [eax + 0x6c], bx
mov ax, word [esi + 0x58]
push 3
pop ecx
and ax, cx
sub cx, ax
mov eax, dword [esi + 8]
shl cx, 2
add eax, 0x28
mov word [esi + 0x54], cx
mov dword [esi + 0x14], eax
push 0x64
jmp 0x41bd89
push 0x65
and dword [esi + 0x50], 0
pop ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret