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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x240], 0
jne 0x549c2d
mov eax, dword [ebx + 0x25c]
test byte [eax + 0x1c], 1
jne 0x549c2d
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a418
test eax, eax
jne 0x5498ad
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x5498ad
mov edi, dword [esi + 8]
cmp dword [edi + 8], 0
jne 0x549642
cmp dword [edi + 0xc], 0
je 0x5498ad
mov edi, dword [esi + 8]
mov eax, dword [0x654d80]
cmp byte [eax], 0
je 0x549690
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x283], 0
jne 0x549690
cmp dword [ebx + 0x278], 0
jne 0x549690
mov eax, ebx
call fcn.0053869c
test al, al
je 0x549690
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a410
test eax, eax
je 0x549690
mov dl, 1
mov eax, ebx
call fcn.00546a80
cmp byte [ebx + 0x56], 0
je 0x54980c
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x1e2], 0
je 0x54980c
mov edx, esp
mov eax, dword [ebx + 0x25c]
call fcn.0053863c
mov ebp, dword [ebx + 0x278]
test ebp, ebp
je 0x5497b8
mov eax, ebp
call fcn.00534690
mov edx, dword [ebx + 0x25c]
add eax, dword [edx + 0x48]
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x34]
call fcn.0051b8fc
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x38]
pop edx
add edx, eax
push edx
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0xc]
call fcn.00538580
mov eax, dword [ebx + 0x278]
call fcn.00534690
mov ebp, eax
mov eax, dword [ebx + 0x25c]
add ebp, dword [eax + 0x4c]
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x34]
call fcn.0051b8fc
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x3c]
add ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
call fcn.00538580
mov eax, dword [ebx + 0x278]
call fcn.00534690
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x34]
call fcn.0051b8fc
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x36]
add ebp, eax
push ebp
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 4]
call fcn.00538580
mov eax, dword [ebx + 0x278]
call fcn.00534654
mov ebp, eax
neg ebp
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x34]
call fcn.0051b8fc
mov eax, dword [eax + 0xd0]
movsx eax, word [eax + 0x3a]
sub ebp, eax
push ebp
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 8]
call fcn.00538580
jmp 0x54980c
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x48]
push eax
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0xc]
call fcn.00538580
mov eax, dword [ebx + 0x25c]
mov eax, dword [eax + 0x4c]
push eax
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
call fcn.00538580
push 0
lea eax, [edi + 8]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 4]
call fcn.00538580
push 0
lea eax, [edi + 0xc]
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 8]
call fcn.00538580
mov eax, dword [ebx + 0x23c]
test ah, 0x60
je 0x5498ad
push esi
lea esi, [ebx + 0xe0]
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
and eax, 0x2000
cmp eax, 0x2000
jne 0x549887
mov eax, dword [ebx + 0x25c]
call fcn.004a834c
mov edi, dword [esi + 8]
cmp eax, dword [edi + 0xc]
jne 0x54986e
mov eax, dword [ebx + 0xe4]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x25c]
call fcn.004a834c
mov edx, dword [ebx + 0xe4]
sub edx, eax
mov eax, dword [esi + 8]
sub dword [eax + 0x14], edx
jmp 0x54987d
mov eax, dword [ebx + 0xe4]
add eax, dword [ebx + 0xec]
mov dword [edi + 0x14], eax
and dword [ebx + 0x23c], 0xffffdfff
mov eax, dword [ebx + 0x23c]
and eax, 0x4000
cmp eax, 0x4000
jne 0x5498a3
and dword [ebx + 0x23c], 0xffffbfff
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x549c3b
mov eax, dword [ebx + 0x50]
call fcn.0051b8fc
test eax, eax
je 0x549c2d
call fcn.0051e964
test al, al
je 0x549c2d
cmp byte [ebx + 0x78], 0
je 0x549c2d
cmp byte [ebx + 0x232], 0
jne 0x549c2d
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x18]
and edx, 0x80
cmp edx, 0x80
je 0x549902
cmp dword [eax + 8], 0xffff8300
jne 0x549ab4
mov eax, dword [ebx + 0x50]
cmp dword [eax + 0x40], 0
je 0x549ab4
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a3e8
test eax, eax
jne 0x549a6a
mov eax, dword [ebx + 0x50]
call fcn.0051b8fc
cmp byte [eax + 0xcc], 2
je 0x549c2d
cmp byte [ebx + 0x95], 0
je 0x549c2d
mov eax, dword [ebx + 0x50]
call fcn.0051b8fc
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x10]
cmp byte [eax + 6], 0
je 0x549c2d
mov eax, dword [ebx + 0x23c]
and eax, 0x200
cmp eax, 0x200
je 0x549c2d
mov eax, dword [ebx + 0x25c]
cmp dword [eax + 0x30], 0
jne 0x549c2d
or dword [ebx + 0x23c], 0x200
mov dl, 1
mov eax, ebx
call fcn.005342b0
mov edx, dword [ebx + 0x50]
mov dword [edx + 0x40], eax
mov ebp, dword [ebx + 0x278]
test ebp, ebp
je 0x549a4f
mov byte [ebp + 0x28], 1
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x330], 0
je 0x5499cb
movzx edi, byte [eax + 0x331]
jmp 0x5499d0
mov edi, 0xff
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x278]
call fcn.0054fe58
push eax
mov eax, dword [ebp + 0x18]
call fcn.00496f10
push eax
call fcn.0040a608
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00496f10
mov edx, dword [ebx + 0x50]
mov edx, dword [edx + 0x40]
mov ecx, edi
call fcn.00533404
push 0x65b
push 0
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.004a834c
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.004a832c
push eax
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00496f10
push eax
call fcn.0040a5f0
jmp 0x549c2d
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
call fcn.00533528
mov dword [ebx + 0xd8], eax
jmp 0x549c2d
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x283], 1
je 0x549c2d
mov eax, dword [esi + 8]
cmp dword [eax + 8], 0xffff8300
jne 0x549c2d
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
mov dl, 1
mov eax, dword [ebx + 0x25c]
call fcn.004aa158
mov eax, ebx
call fcn.00533734
jmp 0x549c3b
mov eax, dword [ebx + 0x278]
test eax, eax
je 0x549c2d
cmp dword [eax + 0x18], 0
je 0x549c2d
mov eax, dword [esi + 8]
cmp dword [eax + 0x10], 0
je 0x549c2d
mov eax, dword [esi + 8]
cmp dword [eax + 0x14], 0
je 0x549c2d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 0x10
cmp eax, 0x10
jne 0x549c2d
mov eax, dword [ebx + 0x23c]
and eax, 0x100
cmp eax, 0x100
je 0x549c2d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 2
cmp eax, 2
je 0x549c2d
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x18]
and eax, 1
cmp eax, 1
je 0x549c2d
mov edi, dword [esi + 8]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebx + 0x210]
jl 0x549b4f
mov eax, dword [edi + 0x14]
cmp eax, dword [ebx + 0x214]
jge 0x549c2d
cmp dword [ebx + 0x234], 0
je 0x549b78
mov ebp, dword [ebx + 0x234]
mov eax, dword [ebp + 0x7c]
cmp byte [eax + 0x24], 0
jne 0x549c2d
mov eax, dword [ebp + 0x78]
cmp byte [eax + 0x24], 0
jne 0x549c2d
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.004972bc
test al, al
je 0x549c2d
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a3e8
test eax, eax
jne 0x549c17
or dword [ebx + 0x23c], 1
push 0
mov edi, dword [esi + 8]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x278]
call fcn.0054fe58
push eax
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00496f10
push eax
call fcn.0040a608
mov eax, dword [ebx + 0x278]
cmp dword [eax + 0x18], 0
je 0x549c0e
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x278]
mov eax, dword [eax + 0x18]
call fcn.00496f10
push eax
mov eax, dword [ebx + 0x25c]
call fcn.00496f10
push eax
call fcn.0040a5f0
and dword [ebx + 0x23c], 0xfffffffe
jmp 0x549c2d
mov eax, dword [ebx + 0x50]
mov byte [eax + 0x35], 1
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x278]
call fcn.0054edc0
mov edx, esi
mov eax, dword [ebx + 0x24c]
call dword [ebx + 0x248]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret