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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x48]
mov ecx, 0x11
rep movsd dword es:[edi], dword [esi]
lea ebx, [ebp - 0x48]
mov eax, dword [ebx + 0x18]
cmp dword [ebx + 0x3c], 0
jne 0x53b932
cmp byte [ebx + 0x39], 0
jne 0x53b93e
cmp byte [ebx + 0x30], 0
jne 0x53b960
test byte [ebx + 0x40], 2
je 0x53b960
mov edx, dword [ebx + 0x14]
test edx, edx
jl 0x53b957
imul edx, edx, 0x4b
mov eax, dword [eax + 0x789c]
mov eax, dword [eax + edx*4 + 0xc]
mov dword [ebp - 0x50], eax
jmp 0x53b967
mov dword [ebp - 0x50], 0xffffff
jmp 0x53b967
mov dword [ebp - 0x50], 0x1fffffff
mov eax, dword [0x602214]
cmp dword [eax], 0
je 0x53b9b9
mov eax, dword [0x602214]
mov eax, dword [eax]
mov eax, dword [eax + 0xcc]
mov edx, 3
call fcn.005d95f8
test al, al
je 0x53b9b9
mov eax, dword [ebx + 0x3c]
sub eax, 1
jb 0x53b998
je 0x53b9a7
jmp 0x53b9ae
cmp byte [ebx + 0x30], 0
jne 0x53b9b9
mov dword [ebx + 0x3c], 1
jmp 0x53b9b9
xor eax, eax
mov dword [ebx + 0x3c], eax
jmp 0x53b9b9
cmp dword [ebx + 0x2c], 3
jge 0x53b9b9
xor eax, eax
mov dword [ebx + 0x3c], eax
mov esi, dword [ebx + 8]
test esi, esi
je 0x53bcb6
cmp dword [ebx + 0xc], 0xffffffff
jle 0x53bcb6
mov eax, esi
call fcn.0053b818
cmp eax, dword [ebx + 0xc]
jle 0x53bcb6
lea esi, [ebx + 0x1c]
lea edi, [ebp - 0x84]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 8]
mov eax, esi
mov edx, dword [0x53c9d8]
call fcn.00405288
test al, al
jne 0x53ba14
mov eax, esi
mov edx, dword [0x5f89f8]
call fcn.00405288
test al, al
je 0x53baf9
mov edi, dword [ebx]
test edi, edi
je 0x53ba89
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebx + 0xc]
push eax
cmp byte [ebx + 0x30], 0
jne 0x53ba2e
test byte [ebx + 0x40], 1
jne 0x53ba32
xor eax, eax
jmp 0x53ba34
mov al, 1
xor ecx, ecx
mov edx, 0x32
call fcn.005c5d08
push eax
cmp dword [ebx + 0x3c], 0
sete al
xor ecx, ecx
mov edx, dword [ebx + 0x34]
call fcn.005c5d08
pop edx
call fcn.0040e7a8
push eax
mov eax, dword [ebp - 0x50]
push eax
movzx eax, byte [ebx + 0x38]
add eax, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
movzx eax, byte [ebx + 0x41]
push eax
lea eax, [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, edi
mov eax, esi
call fcn.0053d2a4
jmp 0x53c1bf
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebx + 0xc]
push eax
cmp byte [ebx + 0x30], 0
jne 0x53ba9d
test byte [ebx + 0x40], 1
jne 0x53baa1
xor eax, eax
jmp 0x53baa3
mov al, 1
xor ecx, ecx
mov edx, 0x32
call fcn.005c5d08
push eax
cmp dword [ebx + 0x3c], 0
sete al
xor ecx, ecx
mov edx, dword [ebx + 0x34]
call fcn.005c5d08
pop edx
call fcn.0040e7a8
push eax
mov eax, dword [ebp - 0x50]
push eax
movzx eax, byte [ebx + 0x38]
add eax, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x2c]
push eax
movzx eax, byte [ebx + 0x41]
push eax
mov eax, dword [ebx + 4]
call fcn.00457314
mov edx, eax
mov ecx, dword [ebp - 0x84]
mov eax, esi
call fcn.0053d550
jmp 0x53c1bf
mov dl, 1
mov eax, dword [0x452c64]
call fcn.0045c28c
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x53bcaf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx], 0
je 0x53bc7e
push ebp
call fcn.0053b844
pop ecx
cmp byte [ebx + 0x30], 0
jne 0x53bbcd
test byte [ebx + 0x40], 2
je 0x53bb5b
mov eax, dword [ebp - 4]
call fcn.0045cbac
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x18]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00579190
test byte [ebx + 0x40], 1
je 0x53bbb0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00432fc0
lea eax, [ebp - 0xb0]
push eax
push 0x3fe00000
push 0
push 0xff00ff
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebx]
call fcn.0057ae78
jmp 0x53bc99
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.0057d5b4
jmp 0x53bc99
cmp dword [ebx + 0x3c], 0
jne 0x53bbfe
cmp byte [ebx + 0x39], 0
je 0x53bbfe
mov eax, dword [ebp - 4]
call fcn.0045cbac
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x18]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 4]
call fcn.00579190
cmp dword [ebx + 0x3c], 0
jne 0x53bc64
cmp dword [ebx + 0x34], 0
jle 0x53bc64
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00432fc0
lea eax, [ebp - 0xb0]
push eax
fild dword [ebx + 0x34]
fld dword [0x53c1c8]
call fcn.00404874
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0xff00ff
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
mov eax, dword [ebx]
call fcn.0057ae78
jmp 0x53bc99
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.0057d5b4
jmp 0x53bc99
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebx + 0xc]
push eax
push 1
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
call fcn.004c7a18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53c1bf
lea eax, [ebp - 4]
call fcn.0041b3c8
ret
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x53c1bf
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x20]
test al, al
jne 0x53c1bf
mov eax, dword [ebx + 0x10]
call fcn.0045ccac
test al, al
je 0x53bd18
cmp byte [ebx + 0x30], 0
je 0x53bd18
mov eax, dword [ebx + 0x10]
call fcn.0045ccac
cmp al, 7
jne 0x53bdd0
mov eax, dword [0x602214]
cmp dword [eax], 0
je 0x53bd18
mov eax, dword [0x602214]
mov eax, dword [eax]
mov eax, dword [eax + 0xcc]
xor edx, edx
call fcn.005d95f8
test al, al
je 0x53bdd0
mov eax, dword [ebx + 0x10]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x54], edx
xor edx, edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x70]
test eax, eax
je 0x53bdc1
mov eax, dword [ebx + 0x10]
call fcn.0045ccac
cmp al, 7
jne 0x53bdc1
mov byte [ebp - 0x59], 0
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x10]
call fcn.0057436c
test al, al
je 0x53bdb1
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x53bdb1
inc eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], 0
mov edi, dword [ebp - 0x68]
imul edi, dword [ebp - 0x60]
add edi, dword [ebp - 0x64]
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
dec ecx
test ecx, ecx
jl 0x53bda9
inc ecx
xor esi, esi
cmp byte [edi + esi*4 + 3], 0
je 0x53bda5
mov byte [ebp - 0x59], 1
jmp 0x53bda9
inc esi
dec ecx
jne 0x53bd98
inc dword [ebp - 0x60]
dec dword [ebp - 0x74]
jne 0x53bd7c
cmp byte [ebp - 0x59], 0
jne 0x53bdc1
mov dl, 6
mov eax, dword [ebx + 0x10]
call fcn.0045df08
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x58]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x54]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x10]
call fcn.0045ccac
cmp al, 7
jne 0x53c08e
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5df4
mov esi, eax
mov edx, dword [ebx + 0x2c]
dec edx
mov eax, dword [ebx + 0x3c]
call fcn.0040e6e0
imul esi, eax
mov dword [ebp - 0x94], esi
xor eax, eax
mov dword [ebp - 0x90], eax
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5df4
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x88], eax
cmp dword [ebx], 0
je 0x53be76
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x70]
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [0x602174]
push eax
push 0
mov eax, dword [ebp - 0x50]
push eax
cmp dword [ebx + 0x3c], 0
sete al
xor ecx, ecx
mov edx, dword [ebx + 0x34]
call fcn.005c5d08
push eax
movzx eax, byte [ebx + 0x41]
push eax
mov ecx, dword [ebx]
lea edx, [ebp - 0x94]
lea eax, [ebx + 0x1c]
call fcn.0057b984
jmp 0x53c1bf
mov dl, 1
mov eax, dword [0x525870]
call fcn.00527ba4
mov dword [ebp - 0x6c], eax
mov dl, 7
mov eax, dword [ebp - 0x6c]
call fcn.0045df08
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5df4
mov edx, eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5e08
mov edx, eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xcc0020
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebx + 0x10]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebx + 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x6c]
movzx edx, byte [ebx + 0x41]
mov byte [eax + 0x98], dl
cmp byte [ebx + 0x30], 0
jne 0x53bf2c
test byte [ebx + 0x40], 1
je 0x53bf2c
mov edx, dword [ebx + 0x34]
mov eax, 0x32
call fcn.0040e7a8
mov dword [ebp - 0x70], eax
jmp 0x53bf32
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x70], eax
cmp dword [ebx + 0x3c], 0
jne 0x53bfa8
cmp dword [ebp - 0x70], 0
je 0x53bfa8
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
call fcn.0057436c
test al, al
je 0x53bfa8
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x53bfa8
inc eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x60], 0
mov edi, dword [ebp - 0x68]
imul edi, dword [ebp - 0x60]
add edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
dec ecx
test ecx, ecx
jl 0x53bfa0
inc ecx
xor esi, esi
movzx eax, byte [edi + esi*4 + 3]
imul dword [ebp - 0x70]
push ecx
mov ecx, 0x64
cdq
idiv ecx
pop ecx
push eax
pop eax
mov byte [edi + esi*4 + 3], al
inc esi
dec ecx
jne 0x53bf84
inc dword [ebp - 0x60]
dec dword [ebp - 0x74]
jne 0x53bf68
cmp byte [ebx + 0x30], 0
jne 0x53bfb4
test byte [ebx + 0x40], 2
jne 0x53bfc0
cmp dword [ebx + 0x3c], 0
jne 0x53bfc8
cmp byte [ebx + 0x39], 0
je 0x53bfc8
mov eax, dword [ebp - 0x6c]
call fcn.005790f8
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5e08
push eax
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5df4
pop edx
call fcn.0057dfdc
mov dword [ebp - 4], eax
push 0xcc0020
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 4]
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
call fcn.0045cbac
xor ecx, ecx
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x3c]
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 4]
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 4]
call fcn.0041b3c8
lea eax, [ebp - 0x6c]
call fcn.0041b3c8
jmp 0x53c1bf
mov eax, dword [ebx]
test eax, eax
jne 0x53c192
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5e08
push eax
lea eax, [ebx + 0x1c]
mov dl, 1
call fcn.005c5df4
pop edx
call fcn.0057dfdc
mov dword [ebp - 4], eax
push 0xcc0020
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 4]
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebx + 0x2c]
push eax
movzx eax, byte [ebx + 0x30]
push eax
movzx eax, byte [ebx + 0x40]
push eax
mov eax, dword [ebx + 0x3c]
push eax
mov eax, dword [ebx + 0x34]
push eax
movzx eax, byte [ebx + 0x38]
push eax
movzx eax, byte [ebx + 0x41]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00432fc0
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.00578b24
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebx + 0x20]
push eax
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 4]
call fcn.00457314
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 4]
call fcn.0041b3c8
jmp 0x53c1bf
mov edx, dword [ebx + 0x2c]
push edx
movzx edx, byte [ebx + 0x30]
push edx
movzx edx, byte [ebx + 0x40]
push edx
mov edx, dword [ebx + 0x3c]
push edx
mov edx, dword [ebx + 0x34]
push edx
movzx edx, byte [ebx + 0x38]
push edx
movzx edx, byte [ebx + 0x41]
push edx
lea ecx, [ebx + 0x1c]
mov edx, eax
mov eax, dword [ebx + 0x10]
call fcn.00578b24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret