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

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x5c
cmp edx, ecx
mov dword [esp + 0x14], ecx
je 0x49ccc0
mov ebx, eax
lea eax, [esp + 0x48]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x49]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
call dword [ebx + 0x38]
lea eax, [esp + 0x48]
cmp dword [esp + 0x4c], eax
je 0x49ccaf
movsx ecx, byte [esp + 0x48]
sub ecx, 9
cmp ecx, 0x17
ja 0x49ccaf
mov eax, 1
shl eax, cl
test eax, 0x800013
je 0x49ccaf
lea edi, [esp + 0x44]
nop
lea eax, [esp + 0x45]
add esi, dword [ebx + 0x40]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], esi
mov ebp, esi
mov dword [esp + 0x4c], edi
mov dword [esp], ebx
mov dword [esp + 8], eax
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call dword [ebx + 0x38]
cmp dword [esp + 0x4c], edi
je 0x49cc37
movsx ecx, byte [esp + 0x44]
sub ecx, 9
cmp ecx, 0x17
ja 0x49cc37
mov eax, 1
shl eax, cl
mov ecx, eax
and ecx, 0x800013
jne 0x49cbe0
cmp dword [esp + 0x14], ebp
je 0x49ccc0
mov eax, dword [esp + 0x70]
mov dword [eax], ebp
lea ebp, [esp + 0x40]
jmp 0x49cc7f
movsx ecx, byte [esp + 0x40]
cmp ecx, 0xffffffff
je 0x49ccaf
cmp ecx, 0x3d
je 0x49cd50
sub ecx, 9
cmp ecx, 0x17
ja 0x49cc7c
mov eax, 1
shl eax, cl
mov ecx, eax
and ecx, 0x800013
jne 0x49ccd7
add esi, dword [ebx + 0x40]
lea eax, [esp + 0x41]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], ebp
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [ebx + 0x38]
cmp dword [esp + 0x4c], ebp
jne 0x49cc50
mov eax, dword [esp + 0x7c]
mov dword [eax], esi
xor eax, eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x70]
mov dword [eax], 0
add esp, 0x5c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x74]
lea edi, [esp + 0x3c]
mov dword [eax], esi
lea eax, [esp + 0x3d]
add esi, dword [ebx + 0x40]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], ebx
call dword [ebx + 0x38]
cmp dword [esp + 0x4c], edi
je 0x49cd3d
movzx eax, byte [esp + 0x3c]
movsx ecx, al
sub ecx, 9
cmp ecx, 0x17
ja 0x49cd39
mov edx, 1
shl edx, cl
mov ecx, edx
and ecx, 0x800013
jne 0x49cce1
cmp al, 0x3d
je 0x49cd56
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
xor eax, eax
jmp 0x49ccb7
mov eax, dword [esp + 0x74]
mov dword [eax], esi
mov eax, dword [esp + 0x70]
cmp dword [eax], esi
je 0x49ccaf
lea eax, [esp + 0x39]
mov edi, dword [ebx + 0x40]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp], ebx
add edi, esi
lea esi, [esp + 0x38]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 4], eax
call dword [ebx + 0x38]
cmp dword [esp + 0x4c], esi
je 0x49ce87
movsx ebp, byte [esp + 0x38]
lea ecx, [ebp - 9]
cmp ecx, 0x17
ja 0x49cdc2
mov eax, 1
shl eax, cl
test eax, 0x800013
jne 0x49ce94
cmp ebp, 0x22
setne al
cmp ebp, 0x27
setne dl
and eax, edx
test al, al
jne 0x49ce87
mov eax, dword [esp + 0x78]
add edi, dword [ebx + 0x40]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x14]
mov dword [eax], edi
lea eax, [esp + 0x34]
mov esi, edi
mov dword [esp + 0x18], eax
mov eax, ebx
mov ebx, esi
lea edi, [esp + 0x2f]
mov esi, eax
jmp 0x49ce34
movsx eax, byte [esp + 0x2f]
cmp eax, dword [esp + 0x1c]
je 0x49ce70
mov ecx, eax
and ecx, 0xffffffdf
sub ecx, 0x41
cmp ecx, 0x19
jbe 0x49ce31
lea ecx, [eax - 0x30]
cmp ecx, 9
jbe 0x49ce31
lea ecx, [eax - 0x2d]
cmp ecx, 1
jbe 0x49ce31
cmp eax, 0x5f
jne 0x49cf06
add ebx, dword [esi + 0x40]
lea eax, [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [esi + 0x38]
cmp dword [esp + 0x4c], edi
jne 0x49ce00
mov eax, 0xffffffff
jmp 0x49ce05
mov eax, esi
mov esi, ebx
add esi, dword [eax + 0x40]
mov eax, dword [esp + 0x7c]
mov dword [eax], esi
mov eax, 1
jmp 0x49ccb7
mov eax, dword [esp + 0x7c]
mov dword [eax], edi
xor eax, eax
jmp 0x49ccb7
lea eax, [esp + 0x34]
mov ebp, eax
jmp 0x49ceb1
mov edx, 1
shl edx, cl
mov ecx, edx
and ecx, 0x800013
je 0x49cef1
lea eax, [esp + 0x35]
add edi, dword [ebx + 0x40]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], ebx
call dword [ebx + 0x38]
cmp dword [esp + 0x4c], ebp
je 0x49ce87
movsx eax, byte [esp + 0x34]
lea ecx, [eax - 9]
cmp ecx, 0x17
jbe 0x49cea0
mov ebp, eax
cmp eax, 0x27
setne al
cmp ebp, 0x22
setne dl
and eax, edx
jmp 0x49cdd0
mov esi, ebx
jmp 0x49ccaf