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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48e5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4bd514]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4bd514]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
call fcn.004066e0
push eax
mov dword [esp + 0x84], 0
call fcn.00419fb0
mov esi, eax
mov dword [esp + 0x84], 0xffffffff
mov eax, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x24], esi
test eax, eax
je 0x41bd14
mov ebx, eax
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebx
call fcn.004455c6
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x41bcf0
cmp eax, 0xffffffff
jae 0x41bcf0
dec eax
mov dword [ebx + 4], eax
mov ebx, dword [ebx + 4]
neg ebx
sbb ebx, ebx
not ebx
and ebx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
call fcn.004455ee
test ebx, ebx
je 0x41bd14
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00419e10
mov ebx, 1
mov dword [esp + 0x80], ebx
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
xor ecx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ecx
mov byte [esp + 0x3c], cl
mov byte [esp + 0x80], 2
mov al, byte [edi]
cmp al, 0x2b
je 0x41bd61
mov dword [esp + 0x18], ecx
cmp al, 0x2d
jne 0x41bd65
mov dword [esp + 0x18], ebx
call fcn.00465b9d
mov ecx, dword [eax]
mov ebx, dword [ebp + 0x30]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0
call fcn.00465af0
add esp, 0xc
mov esi, eax
movsx eax, byte [esp + 0x14]
push ebx
push eax
push edi
call fcn.00465af0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x41bda8
mov dword [ebp + 0x2c], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x58]
mov eax, edx
cmp ecx, 0x10
jae 0x41bdbb
lea eax, [esp + 0x58]
cmp byte [eax], 0x7f
je 0x41bef1
mov eax, edx
cmp ecx, 0x10
jae 0x41bdcf
lea eax, [esp + 0x58]
cmp byte [eax], 0
jle 0x41bef1
push ebx
push edi
lea ecx, [esp + 0x40]
call fcn.00403e30
test esi, esi
jne 0x41bdfc
mov ecx, dword [ebp + 0x2c]
push 0x30
push ecx
lea ecx, [esp + 0x40]
call fcn.0040c4d0
mov ebx, dword [esp + 0x10]
jmp 0x41be28
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x41be16
mov edx, dword [ebp + 0x24]
push 0x30
push edx
lea ecx, [esp + 0x40]
call fcn.0040c4d0
mov dword [ebp + 0x24], ebx
mov eax, dword [ebp + 0x2c]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x44]
call fcn.0040c580
push 0x30
test ebx, ebx
jne 0x41be3d
mov ecx, dword [ebp + 0x24]
push ecx
lea ecx, [esp + 0x40]
call fcn.0040c4d0
jmp 0x41be67
mov edx, dword [ebp + 0x28]
sub ebx, edi
push edx
lea eax, [ebx + 1]
push eax
lea ecx, [esp + 0x44]
call fcn.0040c580
mov ecx, dword [ebp + 0x24]
push 0x30
push ecx
push ebx
lea ecx, [esp + 0x44]
call fcn.0040c580
mov dword [ebp + 0x28], 0
mov ebx, dword [esp + 0x58]
mov esi, 0x10
mov dword [ebp + 0x24], 0
cmp dword [esp + 0x6c], esi
jae 0x41be81
lea ebx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x41be8f
lea eax, [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00465bd0
mov edi, eax
mov al, byte [ebx]
add esp, 8
cmp al, 0x7f
je 0x41bed3
test al, al
jle 0x41bed3
mov ecx, edi
sub ecx, dword [esp + 0x18]
movsx eax, al
cmp eax, ecx
jae 0x41bed3
push 0
sub edi, eax
push 1
push edi
lea ecx, [esp + 0x44]
call fcn.0040c580
cmp byte [ebx + 1], 0
jle 0x41becd
inc ebx
mov al, byte [ebx]
cmp al, 0x7f
jne 0x41bea5
mov edi, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x41bee1
lea edi, [esp + 0x3c]
mov edx, dword [esp + 0x4c]
mov dword [ebp + 0x2c], 0
mov dword [ebp + 0x30], edx
mov ebx, edx
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x2c]
add eax, ecx
add eax, dword [ebp + 0x2c]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x41bf15
cmp ecx, eax
jbe 0x41bf15
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x41bf1d
mov dword [esp + 0x10], 0
mov eax, dword [edx + 0x10]
mov esi, dword [ebp + 8]
and eax, 0x1c0
cmp eax, 0x40
je 0x41bfc3
cmp eax, 0x100
je 0x41bf61
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.0041c590
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x14], edx
jmp 0x41bfb8
cmp dword [esp + 0x18], 0
jbe 0x41bf91
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
push 1
push edi
push eax
push ecx
lea edx, [esp + 0x28]
push edx
push esi
call fcn.0041c600
mov ecx, dword [eax]
add esp, 0x18
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
inc edi
dec ebx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x30], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.0041c590
mov edx, dword [eax]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov dword [esp + 0x28], 0
add esp, 0x18
movsx ecx, byte [esp + 0x14]
push ebx
push ecx
push edi
call fcn.00465af0
add esp, 0xc
test eax, eax
je 0x41c093
mov edx, dword [esp + 0x20]
mov ecx, dword [ebp + 0x14]
sub eax, edi
inc eax
push edx
mov edx, dword [ebp + 0x10]
mov ebx, eax
lea eax, [ebx - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0041c670
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov ecx, dword [ebp + 0x24]
add esp, 0x1c
push ecx
mov dword [ebp + 0x14], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.0041c590
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x18
call eax
mov edx, dword [ebp + 0x14]
push 1
mov byte [esp + 0x28], al
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.0041c590
mov edx, dword [eax]
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x28]
push edx
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.0041c590
mov ecx, dword [eax]
add edi, ebx
add esp, 0x30
sub dword [ebp + 0x30], ebx
mov ebx, dword [ebp + 0x30]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0x14], edx
push ebx
push 0x65
push edi
call fcn.00465af0
add esp, 0xc
test eax, eax
je 0x41c143
mov edx, dword [ebp + 0x14]
sub eax, edi
inc eax
mov ebx, eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebx - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.0041c670
mov edx, dword [eax]
add esp, 0x1c
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x2c]
push edx
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0041c590
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [eax + 4]
add esp, 0x18
test byte [ecx + 0x10], 4
mov dword [ebp + 0x14], edx
mov dword [ebp + 0x2c], 0
mov ecx, 0x49bcf0
jne 0x41c118
mov ecx, 0x49bcf4
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.0041c600
mov edx, dword [eax]
add edi, ebx
add esp, 0x18
sub dword [ebp + 0x30], ebx
mov ebx, dword [ebp + 0x30]
mov dword [ebp + 0x10], edx
mov eax, dword [eax + 4]
mov dword [ebp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.0041c670
mov edx, dword [eax]
add esp, 0x1c
mov dword [ebp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x2c]
push edx
mov dword [ebp + 0x14], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.0041c590
mov ecx, dword [eax]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x18], ebx
mov edx, dword [esp + 0x28]
push edx
mov edx, dword [ebp + 0x1c]
push edx
push eax
push ecx
push edi
push esi
mov dword [ebp + 0x14], eax
call fcn.0041c590
mov esi, 0x10
add esp, 0x30
cmp dword [esp + 0x50], esi
jb 0x41c1c8
mov eax, dword [esp + 0x3c]
push eax
call fcn.0043ac18
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], 0
cmp dword [esp + 0x6c], esi
jb 0x41c1ec
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0043ac18
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0046544a
mov esp, ebp
pop ebp
ret