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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49fec2
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx]
mov eax, esi
cmp eax, 0x82
jg 0x49f99b
je 0x49fa34
sub eax, 2
je 0x49fa34
sub eax, 3
je 0x49f9c1
sub eax, 7
je 0x49fb35
sub eax, 0x6f
je 0x49f9d0
jmp 0x49fb8c
sub eax, 0x128
je 0x49feac
sub eax, 0xd8
je 0x49fae0
sub eax, 0x117
je 0x49fb6e
jmp 0x49fb8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
jmp 0x49fb8c
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x49fb8c
cmp dword [esi + 0x38], 0
je 0x49fb8c
mov eax, dword [esi + 0x38]
cmp dword [eax + 0x7c], 0
je 0x49fb8c
mov eax, esi
call fcn.004d2528
test eax, eax
je 0x49fb8c
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
mov eax, esi
call fcn.004d2528
mov al, byte [eax + 0x3c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
mov eax, dword [eax + 0x44]
mov edx, dword [esi + 0x38]
mov edx, dword [edx + 0x7c]
pop ecx
call fcn.004e5ebc
jmp 0x49fb8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je 0x49fa4c
cmp dword [eax + 0x14], 0xffffffff
jle 0x49fa4c
mov eax, dword [eax + 0x14]
call fcn.004b481c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x48], 0
jne 0x49fa5f
mov eax, dword [ebp - 4]
cmp word [eax + 0x42], 0
je 0x49fac1
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049fed0
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x49feac
xor eax, eax
push ebp
push 0x49fab2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
call fcn.0049445c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49feac
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.00407774
mov dword [ebx + 0xc], eax
jmp 0x49feac
mov eax, dword [0x50cbd4]
cmp dword [eax], 0
je 0x49fb8c
mov eax, dword [0x50cbd4]
mov eax, dword [eax]
test byte [eax + 0x1c], 0x10
jne 0x49fb8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.0040766c
test eax, eax
je 0x49fb8c
mov eax, dword [0x50cbd4]
mov eax, dword [eax]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
je 0x49fb8c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [0x50cbd4]
mov eax, dword [eax]
call fcn.004df6b8
jmp 0x49fb8c
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049fed0
mov dword [ebx + 0xc], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
call fcn.004ae964
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 8
call fcn.0040498c
jmp 0x49fb8c
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.00407774
mov dword [ebx + 0xc], eax
jmp 0x49feac
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
test esi, esi
je 0x49fbb2
mov eax, esi
call fcn.004d2528
test eax, eax
je 0x49fbb2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
cmp byte [eax + 0x3c], 0
jne 0x49fbd2
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049fed0
mov dword [ebx + 0xc], eax
jmp 0x49feac
mov eax, dword [ebx]
mov edx, dword [0x50c9cc]
cmp eax, dword [edx]
jne case.0x49fbf5.0
movzx eax, word [ebx + 6]
cmp eax, 0x3c
ja case.0x49fbf5.0
mov al, byte [eax + 0x49fbfc]
jmp dword [eax*4 + 0x49fc39]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x49fbf5.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
push edx
mov edx, dword [ebx + 8]
xor ecx, ecx
call fcn.004d0eb8
jmp 0x49feac
cmp dword [ebx + 8], 0
jne 0x49fca9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
and word [eax + 0x4e], 0xfdff
jmp 0x49fcb5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
or word [eax + 0x4e], 0x200
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x54]
mov dword [edx + 0x54], eax
jmp case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
cmp eax, dword [ebx + 8]
jne case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d3224
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
mov ecx, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
mov eax, dword [eax + 0x38]
call fcn.00492f88
jmp case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x54]
cmp byte [esi + 0x18], 0
je case.0x49fbf5.0
mov byte [esi + 0x18], 0
mov eax, esi
call fcn.004d253c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x18], bl
test bl, bl
jne 0x49feac
push 0x581
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.00407724
jmp 0x49feac
mov dword [ebx + 0xc], 1
jmp 0x49feac
mov eax, dword [0x50cc98]
mov eax, dword [eax]
mov dword [ebx + 0xc], eax
jmp 0x49feac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
cmp eax, dword [ebx + 8]
jne case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d3224
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
mov byte [eax + 0x35], 1
xor edx, edx
call fcn.004d2a98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.00407674
test eax, eax
je 0x49feac
push 0
push 0
push 0xf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call fcn.00407774
jmp 0x49feac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x49fbf5.0
movzx eax, byte [eax + 0x18]
mov dword [ebx + 0xc], eax
jmp 0x49feac
cmp dword [ebx + 8], 0
je case.0x49fbf5.0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x54], 0
je case.0x49fbf5.0
mov eax, dword [ebx + 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2910
jmp case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
call fcn.004d2528
cmp eax, dword [ebx + 8]
jne case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 8]
jmp case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
test eax, eax
je case.0x49fbf5.0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
xor ecx, ecx
call fcn.00493e28
jmp case.0x49fbf5.0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp dword [eax + 0x38], 0
je case.0x49fbf5.0
mov edx, eax
mov eax, ebx
call int.004d2af8
jmp 0x49feac
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049fed0
mov esi, eax
mov dword [ebx + 0xc], esi
test esi, esi
jne 0x49feac
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
xor edx, edx
call fcn.004d133c
mov dword [ebx + 0xc], eax
jmp 0x49feac
mov eax, dword [ebx + 4]
push eax
lea eax, [ebx + 8]
push eax
mov ecx, dword [ebx]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.0049fed0
mov dword [ebx + 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fec9
lea eax, [ebp - 8]
call fcn.00404e10
ret