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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0xc]
lea esp, [esp]
cmp edi, dword [edx]
jb 0x51d8ce
mov eax, edi
sub eax, dword [edx + 4]
cmp eax, dword [edx + 0x10]
je 0x51e41e
push dword [edx + 0x48]
mov ecx, edx
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00477d90
cmp byte [ebp - 0x34], 0
mov edi, dword [ebp - 0x38]
jne 0x51e457
movzx ebx, byte [edi]
cmp ebx, 0x80
jae 0x51d8dc
inc edi
jmp 0x51d90b
movzx ecx, byte [edi + 1]
add ebx, 0xffffff80
mov eax, ecx
shl eax, 7
add ebx, eax
cmp ecx, 0x80
jae 0x51d8f7
add edi, 2
jmp 0x51d90b
push ebx
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00478840
mov ebx, dword [ebp - 0x3c]
add esp, 0xc
mov edi, dword [ebp - 0x40]
test edi, edi
je 0x51e452
mov eax, ebx
shr eax, 3
dec eax
cmp eax, 0x1d
ja case.default.0x51d922
jmp dword [eax*4 + 0x51e468]
cmp bl, 9
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or esi, 0x80
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], ecx
jmp 0x51d896
cmp bl, 0x11
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or esi, 0x100
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], ecx
jmp 0x51d896
cmp bl, 0x1a
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51d99e
and ecx, 0xfffffffc
mov byte [ebp - 0x18], 0
push ecx
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
jmp 0x51e3b7
mov eax, ecx
shr eax, 1
test al, 1
je 0x51d9b7
xor ecx, ecx
mov byte [ebp - 0x18], cl
push ecx
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
jmp 0x51e3b7
and ecx, 0xfffffffc
mov byte [ebp - 0x18], 0
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x18]
lea ecx, [ebx + 0x1c]
jmp 0x51e3b7
cmp bl, 0x20
jne case.default.0x51d922
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.004774f0
mov edi, eax
add esp, 8
test edi, edi
je 0x51e452
mov ecx, dword [ebp - 0x30]
lea eax, [ecx - 1]
cmp eax, 0x22
ja case.default.0x51d9fe
movzx eax, byte [eax + 0x51e4e4]
jmp dword [eax*4 + 0x51e4e0]
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 0x10000000
mov dword [ebx + 0xa0], ecx
jmp 0x51d896
mov ebx, dword [ebp - 4]
test byte [ebx + 4], 1
lea ecx, [ebx + 4]
je 0x51da42
mov eax, dword [ecx]
push dword [ebp - 0x2c]
and eax, 0xfffffffc
push dword [ebp - 0x30]
add eax, 4
push 4
mov ecx, eax
call fcn.00583550
jmp 0x51d896
call fcn.004cb2a0
push dword [ebp - 0x2c]
mov ecx, eax
push dword [ebp - 0x30]
push 4
call fcn.00583550
jmp 0x51d896
cmp bl, 0x28
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x200
test dl, dl
js 0x51da7d
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x48], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51da9d
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x48], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [ebx + 0x48], edx
jmp 0x51e3cc
cmp bl, 0x32
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 2
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51dae7
and ecx, 0xfffffffc
mov byte [ebp - 0x1c], 0
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x20]
jmp 0x51e3b7
mov eax, ecx
shr eax, 1
test al, 1
je 0x51db00
xor ecx, ecx
mov byte [ebp - 0x1c], cl
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x20]
jmp 0x51e3b7
and ecx, 0xfffffffc
mov byte [ebp - 0x1c], 0
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebx + 0x20]
jmp 0x51e3b7
cmp bl, 0x3a
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 4
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51db40
and ecx, 0xfffffffc
mov byte [ebp - 0x20], 0
push ecx
push dword [ebp - 0x20]
lea ecx, [ebx + 0x24]
jmp 0x51e3b7
mov eax, ecx
shr eax, 1
test al, 1
je 0x51db59
xor ecx, ecx
mov byte [ebp - 0x20], cl
push ecx
push dword [ebp - 0x20]
lea ecx, [ebx + 0x24]
jmp 0x51e3b7
and ecx, 0xfffffffc
mov byte [ebp - 0x20], 0
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x20]
lea ecx, [ebx + 0x24]
jmp 0x51e3b7
cmp bl, 0x40
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x400
test dl, dl
js 0x51db90
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x4c], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51dbb0
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x4c], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov dword [ebx + 0x4c], edx
jmp 0x51e3cc
cmp bl, 0x48
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x800
test dl, dl
js 0x51dbf1
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x50], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51dc11
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x50], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x54]
mov edi, dword [ebp - 0x58]
mov dword [ebx + 0x50], edx
jmp 0x51e3cc
cmp bl, 0x50
jne case.default.0x51d922
lea eax, [ebp - 0xc8]
or esi, 0x1000
push eax
push edi
call fcn.004774f0
mov ebx, dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp - 0xc8]
add esp, 8
mov dword [ebx + 0x54], eax
jmp 0x51e3cc
cmp bl, 0x59
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or esi, 0x2000
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
jmp 0x51d896
cmp bl, 0x61
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or esi, 0x4000
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], ecx
jmp 0x51d896
cmp bl, 0x6a
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 8
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51dcd7
and ecx, 0xfffffffc
mov byte [ebp - 0x24], 0
push ecx
push dword [ebp - 0x24]
lea ecx, [ebx + 0x28]
jmp 0x51e3b7
mov eax, ecx
shr eax, 1
test al, 1
je 0x51dcf0
xor ecx, ecx
mov byte [ebp - 0x24], cl
push ecx
push dword [ebp - 0x24]
lea ecx, [ebx + 0x28]
jmp 0x51e3b7
and ecx, 0xfffffffc
mov byte [ebp - 0x24], 0
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x24]
lea ecx, [ebx + 0x28]
jmp 0x51e3b7
cmp bl, 0x72
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 0x10
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51dd30
and ecx, 0xfffffffc
mov byte [ebp - 0x28], 0
push ecx
push dword [ebp - 0x28]
lea ecx, [ebx + 0x2c]
jmp 0x51e3b7
mov eax, ecx
shr eax, 1
test al, 1
je 0x51dd49
xor ecx, ecx
mov byte [ebp - 0x28], cl
push ecx
push dword [ebp - 0x28]
lea ecx, [ebx + 0x2c]
jmp 0x51e3b7
and ecx, 0xfffffffc
mov byte [ebp - 0x28], 0
mov ecx, dword [ecx]
push ecx
push dword [ebp - 0x28]
lea ecx, [ebx + 0x2c]
jmp 0x51e3b7
cmp bl, 0x7a
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 0x40
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x51dda5
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51dd85
and ecx, 0xfffffffc
jmp 0x51dd96
mov eax, ecx
shr eax, 1
test al, 1
je 0x51dd91
xor ecx, ecx
jmp 0x51dd96
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
call fcn.00524b40
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebx + 0x34], eax
movzx eax, byte [edi]
cmp eax, 0x80
jae 0x51ddb2
inc edi
jmp 0x51ddc6
push eax
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.004786d0
mov edi, dword [ebp - 0x60]
add esp, 0xc
mov eax, dword [ebp - 0x5c]
test edi, edi
je 0x51e455
mov edx, dword [ebp + 0xc]
sub eax, dword [edx + 4]
add eax, edi
mov dword [ebp + 8], eax
xor eax, eax
cmp dword [ebp + 8], eax
cmovl eax, dword [ebp + 8]
add eax, dword [edx + 4]
add dword [edx + 0x44], 0xffffffff
mov dword [edx], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x10], eax
js 0x51e455
mov ecx, dword [ebp - 0x10]
push edx
push edi
call fcn.0051c740
mov edi, eax
test edi, edi
je 0x51e455
mov edx, dword [ebp + 0xc]
inc dword [edx + 0x44]
cmp dword [edx + 0x3c], 0
jne 0x51e455
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
add eax, ecx
xor ecx, ecx
test eax, eax
mov dword [edx + 0x10], eax
cmovs ecx, eax
add ecx, dword [edx + 4]
mov dword [edx], ecx
jmp 0x51d8a0
cmp bl, 0x80
jne case.default.0x51d922
lea eax, [ebp - 0x68]
or esi, 0x8000
push eax
push edi
call fcn.004774f0
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x68]
or eax, dword [ebp - 0x64]
je 0x51de73
mov ebx, dword [ebp - 4]
mov al, 1
mov byte [ebx + 0x68], al
jmp 0x51e3cc
mov ebx, dword [ebp - 4]
xor al, al
mov byte [ebx + 0x68], al
jmp 0x51e3cc
cmp bl, 0x88
jne case.default.0x51d922
lea eax, [ebp - 0x70]
or esi, 0x10000
push eax
push edi
call fcn.004774f0
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x70]
or eax, dword [ebp - 0x6c]
je 0x51deb3
mov ebx, dword [ebp - 4]
mov al, 1
mov byte [ebx + 0x69], al
jmp 0x51e3cc
mov ebx, dword [ebp - 4]
xor al, al
mov byte [ebx + 0x69], al
jmp 0x51e3cc
cmp bl, 0x90
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x20000
test dl, dl
js 0x51dee2
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x6c], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51df02
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x6c], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x78]
mov dword [ebx + 0x6c], edx
jmp 0x51e3cc
cmp bl, 0x98
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x40000
test dl, dl
js 0x51df43
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x70], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51df63
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x70], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x80]
mov dword [ebx + 0x70], edx
jmp 0x51e3cc
cmp bl, 0xa0
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x80000
test dl, dl
js 0x51dfa4
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x74], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51dfc4
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x74], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x84]
mov edi, dword [ebp - 0x88]
mov dword [ebx + 0x74], edx
jmp 0x51e3cc
cmp bl, 0xa8
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x100000
test dl, dl
js 0x51e00e
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x78], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e02e
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x78], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x90]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov dword [ebx + 0x78], edx
jmp 0x51e3cc
cmp bl, 0xb0
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x200000
test dl, dl
js 0x51e078
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x7c], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e098
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x7c], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0x98]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov dword [ebx + 0x7c], edx
jmp 0x51e3cc
cmp bl, 0xb9
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or esi, 0x400000
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x84], ecx
jmp 0x51d896
cmp bl, 0xc0
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x1000000
test dl, dl
js 0x51e110
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x90], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e133
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x90], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0x9c]
mov edi, dword [ebp - 0xa0]
mov dword [ebx + 0x90], edx
jmp 0x51e3cc
cmp bl, 0xc9
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or esi, 0x800000
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 8
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
jmp 0x51d896
cmp bl, 0xd0
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x2000000
test dl, dl
js 0x51e1ae
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x94], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e1d1
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x94], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0xa8]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0xa8]
mov dword [ebx + 0x94], edx
jmp 0x51e3cc
cmp bl, 0xd8
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x4000000
test dl, dl
js 0x51e221
mov ebx, dword [ebp - 4]
inc edi
mov dword [ebx + 0x98], edx
jmp 0x51e3cc
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e244
mov ebx, dword [ebp - 4]
add edi, 2
mov dword [ebx + 0x98], edx
jmp 0x51e3cc
push edx
lea eax, [ebp - 0xb0]
push edi
push eax
call fcn.004788c0
mov ebx, dword [ebp - 4]
add esp, 0xc
mov edx, dword [ebp - 0xac]
mov edi, dword [ebp - 0xb0]
mov dword [ebx + 0x98], edx
jmp 0x51e3cc
cmp bl, 0xe0
jne 0x51e300
mov edx, dword [ebp - 4]
add edi, 0xfffffffe
add edx, 0x10
mov dword [ebp - 0xc], edx
movzx edx, byte [edi + 2]
lea ebx, [edi + 2]
lea edi, [ebx + 1]
test dl, dl
jns 0x51e2c5
movzx ecx, byte [edi]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e2a8
lea edi, [ebx + 2]
jmp 0x51e2c5
push edx
lea eax, [ebp - 0xb8]
push ebx
push eax
call fcn.004788c0
mov edx, dword [ebp - 0xb4]
add esp, 0xc
mov edi, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edx
call fcn.004705d0
mov ebx, dword [ebp - 4]
test edi, edi
je 0x51e455
mov edx, dword [ebp + 0xc]
cmp edi, dword [edx]
jae 0x51d8a4
mov ax, word [edi]
lea ecx, [ebp - 8]
mov word [ebp - 8], 0x1e0
cmp ax, word [ecx]
je 0x51e284
jmp 0x51d8a0
cmp bl, 0xe2
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
push edx
push edi
lea eax, [ebx + 0x10]
push eax
call fcn.00478200
jmp 0x51e3c7
cmp bl, 0xe8
jne case.default.0x51d922
movzx edx, byte [edi]
or esi, 0x8000000
test dl, dl
js 0x51e338
inc edi
jmp 0x51e36c
movzx ecx, byte [edi + 1]
add edx, 0xffffff80
mov eax, ecx
shl eax, 7
add edx, eax
test cl, cl
js 0x51e34f
add edi, 2
jmp 0x51e36c
push edx
lea eax, [ebp - 0xc0]
push edi
push eax
call fcn.004788c0
mov edx, dword [ebp - 0xbc]
add esp, 0xc
mov edi, dword [ebp - 0xc0]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x9c], edx
test edi, edi
je 0x51e455
jmp 0x51d896
cmp bl, 0xf2
jne case.default.0x51d922
mov ebx, dword [ebp - 4]
or dword [ebx + 8], 0x20
mov ecx, dword [ebx + 4]
test cl, 3
jne 0x51e39b
and ecx, 0xfffffffc
jmp 0x51e3ac
mov eax, ecx
shr eax, 1
test al, 1
je 0x51e3a7
xor ecx, ecx
jmp 0x51e3ac
and ecx, 0xfffffffc
mov ecx, dword [ecx]
push ecx
mov byte [ebp - 0x14], 0
lea ecx, [ebx + 0x30]
push dword [ebp - 0x14]
call fcn.0046eab0
mov edx, dword [ebp + 0xc]
push edx
push edi
push eax
call fcn.00477f50
add esp, 0xc
mov edi, eax
test edi, edi
je 0x51e455
jmp 0x51d896
mov eax, ebx
and al, 7
cmp al, 4
je 0x51e438
test ebx, ebx
je 0x51e438
mov ecx, dword [ebp - 4]
add ecx, 4
test byte [ecx], 1
je 0x51e3fa
mov eax, dword [ecx]
and eax, 0xfffffffc
add eax, 4
jmp 0x51e3ff
call fcn.004cb2a0
mov edx, dword [ebp + 0xc]
push edx
push edi
push eax
push 0
push ebx
call fcn.00583de0
mov ebx, dword [ebp - 4]
mov edi, eax
add esp, 0x14
test edi, edi
je 0x51e455
jmp 0x51d896
test eax, eax
jle 0x51e457
cmp dword [edx + 8], 0
jne 0x51e457
xor edi, edi
or dword [ebx + 8], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
lea eax, [ebx - 1]
mov ebx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, edi
or dword [ebx + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp - 4]
xor edi, edi
or dword [ebx + 8], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8