Function at 0x53c300
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x26211a4]
push ebx
push esi
push edi
mov edi, dword [eax + 0x2b8]
add edi, dword [0x2622274]
mov esi, ecx
xor ebx, ebx
test byte [esi + 0x5e], 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebx
mov dword [0x26211d8], ebx
mov dword [esp + 0x10], edi
je 0x53c35d
cmp dword [edi], 0x800003bf
je 0x53c34e
test dword [esi + 0x1c], 0x400000
jne 0x53c34e
xor eax, eax
jmp 0x53c353
mov eax, 1
push eax
push ebx
call fcn.005376f0
add esp, 8
test byte [esi + 0x5e], 2
je 0x53c388
cmp dword [edi], 0x800007bf
je 0x53c378
test dword [esi + 0x1c], 0x800000
jne 0x53c378
xor eax, eax
jmp 0x53c37d
mov eax, 1
push eax
push 1
call fcn.005376f0
add esp, 8
test word [esi + 0x5e], 0x83c0
je 0x53c72c
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x53c3a9
mov ecx, dword [0x26211b4]
movzx edx, word [ecx + 4]
cmp eax, edx
jl 0x53c3b5
cmp eax, dword [0x2622274]
jl 0x53c45f
lea eax, [esp + 0x38]
push eax
mov ecx, 0x26211ec
call fcn.0053a970
mov ecx, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esp + 0x20]
mov dword [esp + 0x28], ecx
push eax
mov ecx, 0x26211ec
mov dword [esp + 0x30], edx
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.0053a460
test al, al
je 0x53c45f
mov edi, edi
lea ecx, [esp + 0x28]
call fcn.0053aa10
mov ecx, dword [eax]
movzx edx, word [ecx + 4]
cmp dword [esi], edx
jl 0x53c416
lea ecx, [esp + 0x28]
call fcn.0053aa10
mov eax, dword [eax]
movzx ecx, word [eax + 6]
cmp dword [esi], ecx
jl 0x53c43e
lea ecx, [esp + 0x28]
call fcn.0053a480
lea edx, [esp + 0x20]
push edx
mov ecx, 0x26211ec
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.0053a460
test al, al
jne 0x53c3f0
jmp 0x53c45f
lea ecx, [esp + 0x28]
call fcn.0053aa10
mov ecx, dword [esi]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
call fcn.0053b0e0
mov ecx, eax
call fcn.0053aa10
mov ebx, eax
test byte [esi + 0x5e], 0x40
je 0x53c4ac
mov ecx, dword [0x26211b4]
movzx edx, word [ecx + 4]
mov eax, dword [esi]
cmp eax, edx
jl 0x53c49a
cmp eax, dword [0x2622274]
jge 0x53c49a
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0053b0e0
mov ecx, eax
call fcn.0053aa20
mov ecx, dword [eax + 0x60]
mov dword [0x26211c4], ecx
jmp 0x53c4ac
mov edx, dword [0x26211a4]
add edx, 0x248
mov dword [0x26211c4], edx
mov ecx, dword [0x26211b4]
test byte [ecx], 8
je 0x53c6f3
test byte [esi + 0x5e], 0x80
mov byte [esp + 0xf], 0
je 0x53c5a9
movzx edx, word [ecx + 4]
mov eax, dword [esi]
cmp eax, edx
jl 0x53c4fc
cmp eax, dword [0x2622274]
jge 0x53c4fc
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0053b0e0
mov ecx, eax
call fcn.0053aa20
mov ecx, dword [eax + 0x68]
mov dword [0x26211bc], ecx
jmp 0x53c5a9
test ebx, ebx
je 0x53c597
cmp dword [ebx + 0x68], 0
jne 0x53c517
mov edi, 4
call fcn.00537890
mov dword [ebx + 0x68], eax
mov edx, dword [0x26211b4]
cmp dword [edx + 0xdc], 0
je 0x53c55d
cmp dword [0x26211bc], 0
je 0x53c55d
mov eax, dword [ebx + 0x68]
push eax
push 0
call fcn.00543820
mov ecx, dword [0x26211bc]
push 0
push ecx
call fcn.00544900
mov edx, dword [ebx + 0x68]
push 0
push edx
call fcn.005438f0
add esp, 0x18
mov byte [esp + 0xf], 2
jmp 0x53c5a9
mov edi, 4
call fcn.00537890
mov edi, eax
mov eax, dword [ebx + 0x68]
push eax
push 0
call fcn.00543820
push 0
push edi
call fcn.005437e0
mov ecx, dword [ebx + 0x68]
push 0
push ecx
call fcn.005438f0
mov dword [0x26211bc], edi
add esp, 0x18
mov byte [esp + 0xf], 2
jmp 0x53c5a9
mov edx, dword [0x26211a4]
add edx, 0x240
mov dword [0x26211bc], edx
test word [esi + 0x5e], 0x100
je 0x53c6da
mov ecx, dword [0x26211b4]
movzx eax, word [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
jl 0x53c600
cmp esi, dword [0x2622274]
jge 0x53c600
push esi
lea edx, [esp + 0x1c]
push edx
call fcn.0053b0e0
mov ecx, eax
call fcn.0053aa20
mov eax, dword [eax + 0x64]
movzx edx, byte [esp + 0xf]
mov dword [0x26211c0], eax
mov eax, dword [0x26211b4]
mov dword [eax + 0xdc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x53c6c8
cmp dword [ebx + 0x64], 0
jne 0x53c61b
mov edi, 4
call fcn.00537890
mov dword [ebx + 0x64], eax
mov ecx, dword [0x26211b4]
cmp dword [ecx + 0xdc], 0
je 0x53c677
cmp dword [0x26211c0], 0
je 0x53c677
mov edx, dword [ebx + 0x64]
push edx
push 0
call fcn.00543820
mov eax, dword [0x26211c0]
push 0
push eax
call fcn.00544900
mov ecx, dword [ebx + 0x64]
push 0
push ecx
call fcn.005438f0
mov eax, dword [0x26211b4]
mov byte [esp + 0x27], 2
movzx edx, byte [esp + 0x27]
add esp, 0x18
mov dword [eax + 0xdc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, 4
call fcn.00537890
mov edx, dword [ebx + 0x64]
push edx
push 0
mov esi, eax
call fcn.00543820
push 0
push esi
call fcn.005437e0
mov eax, dword [ebx + 0x64]
push 0
push eax
call fcn.005438f0
mov eax, dword [0x26211b4]
mov byte [esp + 0x27], 2
movzx edx, byte [esp + 0x27]
mov dword [0x26211c0], esi
add esp, 0x18
mov dword [eax + 0xdc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x26211a4]
add ecx, 0x244
mov dword [0x26211c0], ecx
movzx edx, byte [esp + 0xf]
mov eax, dword [0x26211b4]
mov dword [eax + 0xdc], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x53d0d5
mov eax, dword [ebx + 0x68]
test eax, eax
je 0x53c70d
push 0
push eax
call fcn.005438f0
add esp, 8
mov ebx, dword [ebx + 0x64]
test ebx, ebx
je 0x53d0d5
push 0
push ebx
call fcn.005438f0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x26211b4]
mov dword [eax + 0xdc], ebx
add dword [0x2622274], 8
mov ecx, dword [esi + 0x30]
or ecx, dword [esi + 0x1c]
test ecx, 0x30000
je 0x53c785
test byte [eax], 8
je 0x53c774
cmp dword [esi + 0x64], ebx
jne 0x53c763
mov edi, 4
call fcn.00537890
mov dword [esi + 0x64], eax
cmp dword [esi + 0x68], ebx
jne 0x53c785
mov edi, 4
call fcn.00537890
jmp 0x53c782
mov edx, dword [0x26211c0]
mov eax, dword [0x26211bc]
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], eax
cmp dword [esi + 0x60], ebx
jne 0x53c7a5
mov ecx, dword [esi + 0x30]
or ecx, dword [esi + 0x1c]
test ecx, 0x40000
je 0x53c7a5
mov edi, 4
call fcn.00537890
mov dword [esi + 0x60], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
lea ebx, [ebx]
cmp byte [ebx + 0x2620840], 0
je 0x53c894
mov dl, byte [ebx + 0x2620844]
and dl, 0x7f
cmp dl, 2
jne 0x53c894
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x26211b4]
lea edx, [esp + 0x30]
push edx
add ecx, 0x14
mov dword [esp + 0x1c], 0
mov dword [esp + 0x2c], eax
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.0053a460
test al, al
je 0x53c87d
lea ecx, [esp + 0x28]
call fcn.0053aa10
lea ecx, [esp + 0x28]
lea edi, [eax + 0x34]
call fcn.0053aa10
mov esi, dword [eax + 0x30]
or esi, dword [edi]
lea ecx, [esp + 0x28]
call fcn.0053aa10
mov edi, dword [eax + 0x20]
lea ecx, [esp + 0x28]
or edi, esi
call fcn.0053aa10
mov eax, dword [eax + 0x1c]
or eax, edi
je 0x53c84e
mov cl, byte [ebx + 0x2620841]
mov edx, 1
shl edx, cl
test edx, edx
jne 0x53c87d
add dword [esp + 0x18], 1
lea ecx, [esp + 0x28]
call fcn.00539cf0
mov ecx, dword [0x26211b4]
lea eax, [esp + 0x30]
push eax
add ecx, 0x14
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.0053a460
test al, al
jne 0x53c805
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov ecx, 0x3e8
sub ecx, dword [esp + 0x18]
mov word [ebx + 0x2620846], cx
add ebx, 0xc
cmp ebx, 0x60
jl 0x53c7b0
mov eax, dword [0x26211a8]
test eax, eax
jne 0x53c8d0
mov edx, dword [esp + 0x10]
test dword [edx + 4], 0x20000000
je 0x53c8d0
mov eax, dword [0x26211a4]
add eax, 0x2a8
push 2
push eax
call fcn.00544a50
mov eax, dword [0x26211a8]
add esp, 8
mov ecx, dword [esp + 0x10]
test dword [ecx + 4], 0x10000000
je 0x53c94e
neg eax
sbb eax, eax
and eax, 0x3fc
add eax, 4
push eax
push 0x2609ec0
call fcn.00545650
push 0
call fcn.00545070
mov edx, dword [0x26211a8]
neg edx
sbb edx, edx
and edx, 0x1fe
add edx, 2
push edx
push 0x2609ec4
mov esi, eax
call fcn.00544880
xor eax, eax
cmp dword [0x26211a8], eax
setne al
add eax, 6
push eax
push 0x1000
push fcn.00426cb0
call fcn.0054b4b0
push esi
call fcn.005436a0
mov eax, dword [0x26211a8]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x38]
add esp, 0x24
mov ecx, dword [esp + 0x10]
test dword [ecx + 4], 0x8000000
je 0x53c9c7
neg eax
sbb eax, eax
and eax, 0x7f8
add eax, 8
push eax
push 0x2609ec0
call fcn.00545650
push 0
call fcn.00545070
mov edx, dword [0x26211a8]
neg edx
sbb edx, edx
and edx, 0x3fc
add edx, 4
push edx
push 0x2609ec4
mov esi, eax
call fcn.00544880
xor eax, eax
cmp dword [0x26211a8], eax
setne al
add eax, 6
push eax
push 0x1000
push fcn.00426cb0
call fcn.0054b4b0
push esi
call fcn.005436a0
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x38]
add esp, 0x24
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
jns 0x53ca46
mov edx, dword [0x26211a4]
mov dword [edx + 0x2bc], eax
mov eax, dword [ebp + 0xc]
push eax
push 1
mov ecx, esi
call fcn.00537a10
mov dword [0x262111c], eax
mov eax, dword [0x262113c]
test eax, eax
jle 0x53ca04
lea ecx, [eax + eax*2]
mov byte [ecx*4 + 0x2620843], 1
cmp dword [0x26211e0], 0
je 0x53ca21
mov eax, dword [0x5bfcb4]
test eax, eax
jle 0x53ca21
lea edx, [eax + eax*2]
mov byte [edx*4 + 0x2620843], 1
mov eax, dword [0x26211a4]
mov ecx, dword [eax + 0x2bc]
and ecx, 0x3f
mov edx, dword [ecx*4 + 0x5c01c8]
call edx
mov eax, dword [esp + 0x10]
mov dword [0x26211d4], eax
jmp 0x53d096
test dword [esi + 0x1c], 0x400000
je 0x53ccee
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.00539cf0
mov ecx, dword [0x26211b4]
lea eax, [esp + 0x40]
push eax
add ecx, 0x14
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.00539ca0
mov edi, dword [esp + 0x10]
movzx ecx, al
mov dword [esp + 0x18], ecx
mov ecx, dword [0x26211b4]
lea edx, [esp + 0x38]
push edx
add ecx, 0x14
add edi, 8
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.0053a460
test al, al
je 0x53cb71
mov ebx, 0x83c0
mov edi, edi
lea ecx, [esp + 0x28]
call fcn.0053aa10
test word [eax + 0x5e], bx
jne 0x53caf1
lea ecx, [esp + 0x28]
call fcn.0053aa10
test dword [eax + 0x1c], 0x400000
jne 0x53cb71
cmp dword [edi], 0x800003bf
je 0x53cb71
lea ecx, [esp + 0x28]
call fcn.0053aa10
test word [eax + 0x5e], 0x200
je 0x53cb18
lea ecx, [esp + 0x28]
call fcn.0053aa10
mov ecx, dword [0x2622274]
add ecx, 0xfffffff8
cmp dword [eax], ecx
je 0x53cb71
lea ecx, [esp + 0x28]
call fcn.0053aa10
test byte [eax + 0x5e], 1
jne 0x53cb69
lea ecx, [esp + 0x28]
call fcn.0053aa10
test word [eax + 0x5e], bx
lea ecx, [esp + 0x28]
jne 0x53cb3d
add edi, 8
call fcn.00539cf0
mov ecx, dword [0x26211b4]
lea edx, [esp + 0x38]
push edx
add ecx, 0x14
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.0053a460
test al, al
jne 0x53cac0
jmp 0x53cb71
mov dword [esp + 0x18], 1
mov ecx, dword [0x26211b4]
lea eax, [esp + 0x40]
push eax
add ecx, 0x14
call fcn.0053a9f0
push eax
lea ecx, [esp + 0x2c]
call fcn.00539ca0
test al, al
je 0x53cb9a
mov dword [esp + 0x18], 1
mov ebx, dword [esp + 0x18]
or edi, 0xffffffff
test ebx, ebx
je 0x53cbb7
push 0
push 0
push 0
push 0xffffffffffffffff
call fcn.0054b720
add esp, 0x10
mov edi, eax
test byte [esi + 0x5e], 1
jne 0x53cbd5
cmp dword [0x262112c], 0
jne 0x53cbd5
push 0x2621150
push 0
call fcn.00543820
add esp, 8
test ebx, ebx
je 0x53cbe7
push 0x2621130
push edi
call fcn.00543820
add esp, 8
test byte [esi + 0x5e], 1
jne 0x53cc7e
cmp dword [0x262112c], 0
jne 0x53cc43
push 0
push 0
call fcn.005448d0
push 0
call fcn.00545090
push 0
push 0x16
mov ebx, eax
call fcn.005374b0
push eax
push 0
call fcn.00543820
add esp, 0x1c
push 0
push 1
push 0x16
call fcn.005374b0
add esp, 8
push eax
call fcn.005437e0
push ebx
call fcn.005436a0
mov ebx, dword [esp + 0x24]
add esp, 0xc
jmp 0x53cc7e
test byte [0x262115c], 1
je 0x53cc7e
push 0
push 0x16
call fcn.005374b0
push eax
push 0
call fcn.00543820
add esp, 0x10
push 0
push 1
push 0x16
call fcn.005374b0
add esp, 8
push eax
call fcn.005437e0
add esp, 8
and dword [0x262115c], 0xfffffffe
test ebx, ebx
je 0x53ccac
mov eax, dword [0x26211b8]
movzx ecx, word [eax + 0x5c]
add ecx, dword [eax + 4]
push ecx
push edi
call fcn.00543c80
push edi
push 0x2621150
call fcn.005437e0
add esp, 0x10
or dword [0x262115c], 1
jmp 0x53cccf
and dword [0x262115c], 0xfffffffe
push reloc.gnu_gettext.dll_Ordinal_1
push 0x2621150
mov dword [0x26211d8], 1
call fcn.005438f0
add esp, 8
mov eax, dword [0x26211b8]
movzx edx, word [eax + 0x5c]
add edx, dword [eax + 4]
test edi, edi
mov dword [0x262112c], edx
jl 0x53ccee
push edi
call fcn.0054a260
add esp, 4
test dword [esi + 0x1c], 0x800000
je 0x53ce14
push 0
push 0
push 0
push 0xffffffffffffffff
call fcn.0054b720
mov edi, dword [esp + 0x24]
add esp, 0x10
test byte [edi + 0x5e], 2
mov esi, eax
jne 0x53cd2f
cmp dword [0x2621118], 0
jne 0x53cd2f
push 0x2621158
push 0
call fcn.00543820
add esp, 8
push 0x2621130
push esi
call fcn.00543820
add esp, 8
test byte [edi + 0x5e], 2
jne 0x53cdd0
cmp dword [0x2621118], 0
jne 0x53cd95
push 0
push 0
call fcn.005448d0
push 0
call fcn.00545090
push 0
push 0x17
mov edi, eax
call fcn.005374b0
push eax
push 0
call fcn.00543820
add esp, 0x1c
push 0
push 1
push 0x17
call fcn.005374b0
add esp, 8
push eax
call fcn.005437e0
push edi
call fcn.005436a0
add esp, 0xc
jmp 0x53cdd0
test byte [0x262115c], 2
je 0x53cdd0
push 0
push 0x17
call fcn.005374b0
push eax
push 0
call fcn.00543820
add esp, 0x10
push 0
push 1
push 0x17
call fcn.005374b0
add esp, 8
push eax
call fcn.005437e0
add esp, 8
and dword [0x262115c], 0xfffffffd
mov eax, dword [0x26211b8]
movzx ecx, word [eax + 0x5c]
add ecx, dword [eax + 4]
push ecx
push esi
call fcn.00543c80
push esi
push 0x2621158
call fcn.005437e0
mov eax, dword [0x26211b8]
movzx edx, word [eax + 0x5c]
add edx, dword [eax + 4]
or dword [0x262115c], 2
push esi
mov dword [0x2621118], edx
call fcn.0054a260
mov esi, dword [esp + 0x28]
add esp, 0x14
mov edi, dword [esp + 0x10]
cmp dword [edi], 0x800003bf
jne 0x53ce2c
push 1
push 0
call fcn.005376f0
add esp, 8
cmp dword [edi], 0x800007bf
jne 0x53ce40
push 1
push 1
call fcn.005376f0
add esp, 8
mov eax, dword [esi + 0x34]
and eax, dword [esi + 0x1c]
test eax, 0xfe37ffff
je 0x53ce66
mov ecx, dword [0x26211b4]
movzx edx, word [ecx + 4]
push edx
push eax
push str.PCSX2:_Warning__VI_write_to_the_same_reg__x_in_both_lower_upper_cycle__x_n
call fcn.00409cc0
add esp, 0xc
mov al, byte [esi + 0x75]
xor ebx, ebx
test al, al
jl 0x53ce9e
movsx eax, al
add eax, eax
add eax, eax
add eax, eax
cmp byte [eax + 0x26207c0], bl
je 0x53ce9e
cmp byte [eax + 0x26207c2], 1
jne 0x53ce9e
mov cl, byte [eax + 0x26207c1]
cmp cl, byte [esi + 0x29]
jne 0x53ce9e
movzx ebx, byte [eax + 0x26207c3]
and ebx, 2
mov ecx, dword [0x26211a4]
mov edx, edi
mov eax, dword [edx + 4]
mov edi, dword [ebp + 0xc]
push edi
mov dword [ecx + 0x2bc], eax
push 1
mov ecx, esi
call fcn.00537a10
mov dword [0x262111c], eax
mov al, byte [esi + 0x75]
test al, al
jl 0x53cef8
cmp byte [esi + 0x76], al
je 0x53ced2
cmp byte [esi + 0x78], al
jne 0x53cef8
test ebx, ebx
je 0x53cef0
movsx edx, al
movzx eax, byte [esi + 0x29]
shl eax, 4
add eax, dword [0x26211a4]
push edx
push eax
call fcn.00547610
add esp, 8
mov dword [esp + 0x20], 1
mov eax, dword [0x262113c]
test eax, eax
jle 0x53cf0c
lea ecx, [eax + eax*2]
mov byte [ecx*4 + 0x2620843], 1
cmp dword [0x26211e0], 0
je 0x53cf29
mov eax, dword [0x5bfcb4]
test eax, eax
jle 0x53cf29
lea edx, [eax + eax*2]
mov byte [edx*4 + 0x2620843], 1
mov eax, dword [0x26211a4]
mov ecx, dword [eax + 0x2bc]
and ecx, 0x3f
mov edx, dword [ecx*4 + 0x5c01c8]
call edx
call fcn.00510040
call fcn.0054a230
test dword [esi + 0x30], 0x10000
je 0x53cf5b
mov eax, dword [esi + 0x68]
mov dword [0x26211c8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, dword [0x26211a4]
push edi
push 0
mov ecx, esi
mov dword [eax + 0x2bc], edx
call fcn.00537a10
cmp dword [esp + 0x20], 0
mov dword [0x262111c], eax
je 0x53d006
movzx ecx, byte [esi + 0x29]
movsx edx, byte [esi + 0x7c]
shl ecx, 4
add ecx, dword [0x26211a4]
push ecx
push edx
call fcn.005475d0
mov eax, dword [0x26211a4]
mov ecx, dword [eax + 0x2bc]
movzx edx, byte [esi + 0x29]
mov eax, ecx
shr eax, 0xb
and eax, 0x1f
add esp, 8
cmp eax, edx
jne 0x53cfd8
movsx eax, byte [esi + 0x7c]
mov edi, dword [0x262111c]
shl eax, 8
and edi, 0xfffff0ff
or eax, edi
mov dword [0x262111c], eax
jmp 0x53cfdd
mov eax, dword [0x262111c]
shr ecx, 0x10
and ecx, 0x1f
cmp ecx, edx
jne 0x53cffa
movsx ecx, byte [esi + 0x7c]
shl ecx, 0xc
and eax, 0xffff0fff
or eax, ecx
mov dword [0x262111c], eax
movsx ecx, byte [esi + 0x7c]
or byte [ecx*8 + 0x26207c3], 0x22
cmp byte [esi + 0x28], 1
jne 0x53d016
or eax, 0x80000000
mov dword [0x262111c], eax
mov eax, dword [0x262113c]
test eax, eax
jle 0x53d02a
lea edx, [eax + eax*2]
mov byte [edx*4 + 0x2620843], 1
cmp dword [0x26211e0], 0
je 0x53d047
mov eax, dword [0x5bfcb4]
test eax, eax
jle 0x53d047
lea eax, [eax + eax*2]
mov byte [eax*4 + 0x2620843], 1
test word [esi + 0x5e], 0x400
je 0x53d07f
mov edx, dword [0x26211a8]
movsx ecx, byte [esi + 0x7e]
neg edx
sbb edx, edx
push 1
and edx, 0x80
push ecx
or edx, 2
push edx
push 0xffffffffffffffff
call fcn.0054b720
push eax
push 0x26211dc
call fcn.005437e0
add esp, 0x18
mov eax, dword [0x26211a4]
mov ecx, dword [eax + 0x2bc]
shr ecx, 0x19
mov edx, dword [ecx*4 + 0x5bfcc8]
call edx
call fcn.00510040
call fcn.0054a230
mov eax, dword [esi + 0x30]
or eax, dword [esi + 0x1c]
test eax, 0x40000
je 0x53d0b6
mov ecx, dword [esi + 0x60]
mov dword [0x26211d0], ecx
test eax, 0x10000
je 0x53d0c6
mov edx, dword [esi + 0x68]
mov dword [0x26211c8], edx
test eax, 0x20000
je 0x53d0d5
mov eax, dword [esi + 0x64]
mov dword [0x26211cc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8