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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
push edi
mov al, byte [esi + 0x44]
test al, al
js 0x41be21
je 0x41be19
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x41bda0
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004e59d0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x41bda5
call fcn.0040d5a0
mov al, byte [esi + 0x44]
sub al, 1
mov byte [esi + 0x44], al
je 0x41be0e
nop
movsx eax, al
mov eax, dword [esi + eax*4 + 0x78]
mov ecx, dword [eax + 0x48]
test byte [ecx + 0x1c], 0x20
je 0x41bdff
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.004e59d0
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
add esp, 0x10
jmp 0x41be04
call fcn.0040d5a0
mov al, byte [esi + 0x44]
sub al, 1
mov byte [esi + 0x44], al
jne 0x41bdb0
mov edx, dword [esi + 0x78]
mov dword [esi + 0x74], edx
jmp 0x41beae
mov edx, dword [esi + 0x74]
jmp 0x41be99
mov edx, dword [esi + 0x3c]
test edx, edx
jne 0x41be34
mov byte [esi], dl
lea eax, [edx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 3
jb 0x41be60
cmp al, 4
jne 0x41be48
mov eax, dword [esi + 0x40]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi + 0x38]
call fcn.00405050
mov edx, dword [esi + 0x3c]
add esp, 4
mov dword [esi + 0x38], 0
mov byte [esi], 0
movzx eax, byte [esi + 2]
lea edi, [esi + 0x74]
mov ecx, dword [esi + 8]
push eax
push 0
push edi
mov ecx, dword [ecx + 4]
call fcn.004186e0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x41be8d
mov byte [esi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi]
mov byte [esi + 0x44], 0
mov al, byte [edx + 2]
mov byte [esi + 0x45], al
cmp byte [edx], 0
je 0x41bf13
movzx eax, byte [edx + 2]
xor ecx, ecx
cmp dword [esi + 0x70], ecx
sete cl
cmp ecx, eax
jne 0x41bf13
and byte [esi + 1], 0xf1
xor eax, eax
mov word [esi + 0x46], ax
mov word [esi + 0x2a], ax
cmp word [edx + 0x16], ax
jbe 0x41bed0
mov eax, dword [esp + 0xc]
mov byte [esi], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [edx + 8], al
jne 0x41bf05
cmp dword [edx + 4], 1
je 0x41bee7
push 0x53d0b4
push 0xfcc4
jmp 0x41bf1d
movzx ecx, byte [edx + 9]
mov eax, dword [edx + 0x38]
mov edx, dword [ecx + eax + 8]
mov ecx, esi
bswap edx
mov byte [esi], 1
call fcn.0041bc10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [esi], al
mov eax, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x53d0b4
push 0xfcb7
push 0x53d048
push 0x53d02c
push 0xb
call fcn.00407720
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret