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

Disassembly:
sub esp, 0x38c
push ebx
push ebp
mov ebp, dword [esp + 0x398]
mov ebx, ecx
push esi
push edi
cmp ebp, 0xffffffff
jl 0x49c6ed
mov ecx, dword [ebx]
cmp ebp, dword [ecx + 4]
jge 0x49c6ed
cmp dword [ebx + 4], 0xffffffff
je 0x49c212
call fcn.0049bf30
mov dword [ebx + 4], 0xffffffff
cmp ebp, dword [ebx + 0x238]
jne 0x49c246
cmp ebp, 0xffffffff
je 0x49c24b
mov edi, dword [esp + 0x3a4]
lea esi, [ebx + 8]
mov ecx, 0x8c
xor eax, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38c
ret 8
cmp ebp, 0xffffffff
jne 0x49c2a2
mov eax, dword [ebx]
mov ecx, dword [esp + 0x3a4]
mov eax, dword [eax + 4]
mov dword [ecx], eax
xor eax, eax
mov word [ecx + 4], ax
mov dword [ecx + 0x20c], eax
mov dword [ecx + 0x210], eax
mov dword [ecx + 0x214], eax
mov dword [ecx + 0x218], eax
mov dword [ecx + 0x21c], eax
mov dword [ecx + 0x220], eax
mov dword [ecx + 0x224], eax
mov dword [ecx + 0x228], eax
mov dword [ecx + 0x22c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38c
ret 8
mov ecx, dword [ebx]
cmp ebp, dword [ecx + 0x10]
jge 0x49c2ae
call fcn.0049b900
mov eax, dword [ebx]
cmp dword [eax + 0x10], ebp
jge 0x49c2c3
mov ecx, dword [ebx]
call fcn.0049b940
mov eax, dword [ebx]
cmp dword [eax + 0x10], ebp
jl 0x49c2b5
mov ecx, dword [ebx]
lea eax, [esp + 0x88]
sub esp, 0x14
lea edx, [esp + 0x4c]
push eax
call fcn.0049b8e0
mov ecx, dword [ebx]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
call fcn.0049b9a0
add esp, 0x20
test eax, eax
je 0x49c307
mov eax, 0x700
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38c
ret 8
mov ecx, dword [ebx]
mov edx, dword [esp + 0x14]
push 0
mov ecx, dword [ecx]
call fcn.0049b1c0
add esp, 4
test eax, eax
jne 0x49c34d
mov ebp, dword [esp + 0x20]
push ebp
call fcn.004a525e
mov ecx, dword [ebx]
add esp, 4
mov edi, eax
mov edx, 1
push dword [ecx]
mov ecx, edi
push ebp
call fcn.0049b250
add esp, 8
cmp eax, ebp
je 0x49c35f
push edi
call fcn.004a5267
add esp, 4
mov eax, 0x800
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38c
ret 8
mov eax, dword [ebx]
mov ecx, 0xfde9
mov ebp, dword [esp + 0x3a4]
push 0x104
mov eax, dword [eax + 0x10]
mov dword [ebp], eax
lea eax, [esp + 0x194]
push eax
lea eax, [esp + 0x90]
push 0xffffffffffffffff
push eax
call fcn.0048e5d0
add esp, 0x10
lea esi, [esp + 0x190]
lea esp, [esp]
movzx eax, word [esi]
test ax, ax
je 0x49c3b4
cmp word [esi + 2], 0x3a
jne 0x49c3b4
add esi, 4
jmp 0x49c3a0
cmp eax, 0x5c
jne 0x49c3be
add esi, 2
jmp 0x49c3a0
cmp eax, 0x2f
jne 0x49c3c8
add esi, 2
jmp 0x49c3a0
push 0x6630b4
push esi
call fcn.005d4c8a
add esp, 8
test eax, eax
je 0x49c3df
lea esi, [eax + 8]
jmp 0x49c3a0
push str..._
push esi
call fcn.005d4c8a
add esp, 8
test eax, eax
je 0x49c3f6
lea esi, [eax + 8]
jmp 0x49c3a0
push 0x6630cc
push esi
call fcn.005d4c8a
add esp, 8
test eax, eax
je 0x49c40d
lea esi, [eax + 8]
jmp 0x49c3a0
push 0x6630d8
push esi
call fcn.005d4c8a
add esp, 8
test eax, eax
je 0x49c427
lea esi, [eax + 8]
jmp 0x49c3a0
push esi
lea eax, [ebp + 4]
push 0x104
push eax
call fcn.005d55ea
mov edx, dword [esp + 0x78]
add esp, 0xc
mov eax, edx
mov byte [esp + 0x1c], 0
shr eax, 0x1e
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x17
mov dword [esp + 0x18], eax
not cl
mov eax, dword [esp + 0x38]
and cl, 1
shr eax, 8
mov byte [esp + 0x14], 0
mov byte [esp + 0x24], 1
test eax, eax
je 0x49c47e
cmp eax, 7
je 0x49c47e
cmp eax, 0xb
je 0x49c47e
cmp eax, 0xe
jne 0x49c4b7
mov eax, edx
mov cl, dl
shr eax, 1
and cl, 1
and eax, 0xffffff01
mov dword [esp + 0x1c], eax
mov eax, edx
shr eax, 2
and eax, 0xffffff01
mov dword [esp + 0x14], eax
mov eax, edx
shr eax, 4
and al, 1
mov byte [esp + 0x18], al
mov eax, edx
shr eax, 5
and eax, 0xffffff01
mov dword [esp + 0x24], eax
xor eax, eax
mov edx, 0x10
cmp byte [esp + 0x18], al
cmovne eax, edx
cmp byte [esp + 0x24], 0
mov dword [ebp + 0x20c], eax
je 0x49c4d9
or dword [ebp + 0x20c], 0x20
cmp byte [esp + 0x1c], 0
je 0x49c4e7
or dword [ebp + 0x20c], 2
test cl, cl
je 0x49c4f2
or dword [ebp + 0x20c], 1
cmp byte [esp + 0x14], 0
je 0x49c500
or dword [ebp + 0x20c], 4
mov edx, dword [esp + 0x48]
mov ecx, edx
mov eax, dword [esp + 0x50]
mov dword [ebp + 0x228], eax
mov eax, dword [esp + 0x54]
shr ecx, 0x10
mov dword [ebp + 0x22c], eax
call fcn.0049bfd0
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
mov dword [esp + 0x28], eax
call fcn.0048c000
mov ecx, dword [esp + 0x30]
xor esi, esi
cmp dword [esp + 0x20], 4
mov eax, dword [esp + 0x34]
mov dword [ebp + 0x210], ecx
mov dword [ebp + 0x214], eax
mov dword [ebp + 0x218], ecx
mov dword [ebp + 0x21c], eax
mov dword [ebp + 0x220], ecx
mov dword [ebp + 0x224], eax
jbe 0x49c6b8
mov byte [esp + 0x1a], 0
jmp 0x49c580
movzx eax, byte [esi + edi]
mov ecx, 0x6630e4
mov byte [esp + 0x18], al
movzx eax, byte [edi + esi + 1]
mov byte [esp + 0x19], al
lea eax, [esp + 0x18]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x49c5c0
test dl, dl
je 0x49c5bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x49c5c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x49c5a0
xor eax, eax
jmp 0x49c5c5
sbb eax, eax
or eax, 1
test eax, eax
je 0x49c5e1
movzx eax, byte [esi + edi + 2]
add eax, 4
add esi, eax
lea eax, [esi + 4]
cmp eax, dword [esp + 0x20]
jb 0x49c580
jmp 0x49c6b8
movzx eax, byte [esi + edi + 4]
add esi, 5
mov ecx, eax
mov edx, eax
shr ecx, 1
shr edx, 2
and ecx, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
test al, 1
je 0x49c644
movzx ecx, byte [esi + edi + 3]
movzx eax, byte [esi + edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + edi]
shl ecx, 8
add esi, 4
or ecx, eax
call fcn.0049bfb0
mov ecx, dword [esp + 0x14]
mov dword [ebp + 0x220], eax
mov dword [ebp + 0x224], edx
test cl, cl
je 0x49c67e
movzx ecx, byte [esi + edi + 3]
movzx eax, byte [esi + edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + edi]
shl ecx, 8
add esi, 4
or ecx, eax
call fcn.0049bfb0
mov dword [ebp + 0x210], eax
mov dword [ebp + 0x214], edx
cmp byte [esp + 0x1c], 0
je 0x49c6b8
movzx ecx, byte [esi + edi + 3]
movzx eax, byte [esi + edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + edi]
shl ecx, 8
or ecx, eax
call fcn.0049bfb0
mov dword [ebp + 0x218], eax
mov dword [ebp + 0x21c], edx
test edi, edi
je 0x49c6c5
push edi
call fcn.004a5267
add esp, 4
mov eax, dword [esp + 0x3a0]
lea edi, [ebx + 8]
mov ecx, 0x8c
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0x238], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38c
ret 8
pop edi
pop esi
pop ebp
mov eax, 0x10000
pop ebx
add esp, 0x38c
ret 8